Consider the senario , I am using servlets with httpSession object in servlet and i am adding some data into session object and response sent to client and client sends the request for next servlet page which needs the informaion stored in the session object. Now how a web server can able to notify the request given by the client is linked with perticular session object created at previous request ? Suppose if cookies are disabled ?
Consider the senario , I am using servlets with httpSession object in servlet and
Share
If the cookies are dissabled, the session tracking happens with url rewriting . Every url in the server should be encoded with the session id ( HttpResponse.encodeURL() does this for you).
Another approach is by having an hidden field for the session id. However this will work only for POST requests.