my doubt is when a servlet returns with URL rewritten. where is the information stored if the cookies are disabled??
how is session tracking happening here??
please can anyone explain how is the session tracking happening??
like for cookie i know that 1> cookies are in server side which are sent to the client side when requested for the first time and is stored in the client machine 2>when the next request is made to the same web server. the stored cookie information will be used.
but where is the session key generated?? in the client side or the server side??
The data for the session gets added to the server side session. The server creates a jsessionid for the user's session, and only that jsessionid is appended to the URLs when you url-rewrite. When the user makes a new request the server sees that jsessionid and looks up the proper Session to attach to the server-side request.