2.2.5.2 Get_Response

The Get_Response message is sent by a state server implementation to a client in response to a Get_Request message. Sections 3.1.5.1 and 3.2.5.1 specify using this message.

 Get_Response = 
 response-ok | response-bad-request | response-not-found | 
 response-locked
 response-ok = status-code-ok content-length 
 aspnet-version timeout [action-flags] CRLF content
 response-bad-request = status-code-badrequest 
 content-length aspnet-version
 response-not-found = status-code-notfound 
 content-length aspnet-version
 response-locked = status-code-locked 
 content-length aspnet-version lock-cookie lock-age lock-date
  

Examples:

Response-ok:

  
 HTTP/1.1 200 OK
 Content-Length: 2589
 X-AspNet-Version: 2.0.50727
 Timeout: 1200
 ActionFlags: 1
  
 ...session state content here...

Response-bad-request (this response format is the same for all server responses):

  
 HTTP/1.1 400 Bad Request
 Content-Length: 589
 X-AspNet-Version: 2.0.50727
  

Response-not-found (this response format is the same for all server responses):

  
 HTTP/1.1 404 Not Found
 Content-Length: 205
 X-AspNet-Version: 2.0.50727

Response-locked (this response format is the same for all server responses):

  
 HTTP/1.1 423 Locked
 Content-Length: 589
 X-AspNet-Version: 2.0.50727
 LockCookie: 1
 LockAge: 1275008970
 LockDate: 1337890127