Is HttpURLConnection.HTTP_CLIENT_TIMEOUT is true, then does this mean session expired?
If yes,
Then, does this same as, cookie expiry ?
Is HttpURLConnection.HTTP_CLIENT_TIMEOUT is true, then does this mean session expired?
If yes,
Then, does this same as, cookie expiry ?
From HTTP/1.1 Status Code Definitions:
10.4.9 408 Request Timeout
The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time.
It has nothing to do with sessions or cookies. The client simply didn't complete a request within the expected time and the server gave up waiting for the client to finish. This can be caused when the client didn't write anything to the request body while the spec requires that (e.g. you're using POST, but not sending anything), or when the client didn't supply a Connection: Close
header.