This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In order for session to maintain there should be an unique sessionid that will be passed every time when the user sends the request and server responds back. In case of cookies : first time the servers creates a session id and set cookie and when the user sends the request, the request will be sent with cookie header;
In case of URL Rewriting : The server appends the session id to the url by doing response.encodeURL(...).
But how the session id will be appended to the request URL?