4.3 Refresh an Idle Session Context
This scenario describes refreshing an idle Session Context. To keep the server from timing out the Session Context, the client issues a PING request type, as described in section 2.2.6. Client creation of the request is described in section 3.1.5.3. Server handling of the response is described in section 3.2.5.3.
Client request
-
POST <Autodiscover-provided endpoint> HTTP/1.1 Host: <URL of the host server> Content-Length: 0 Content-Type: application/mapi-http Cookie: <session context cookie>=<opaque string> Cookie: <return sequence cookie>=<opaque string> X-RequestType: PING X-ClientInfo: <opaque string> X-RequestId: <unique identifier> X-ClientApplication: <client version>
Server response
-
HTTP/1.1 200 OK Content-Length: <length of META-TAGS, ADDITIONAL HEADERS> Content-Type: application/mapi-http X-RequestType: PING X-RequestId: <unique identifier> X-ResponseCode: 0 X-ClientInfo: <opaque string> X-ServerApplication: <server version> X-ExpirationInfo: <milliseconds> PROCESSING<CRLF> DONE<CRLF> X-ResponseCode: 0<CRLF> X-ElapsedTime: <milliseconds> X-StartTime: <date/time> <CRLF>