Hi everyone I am unable to understand the session management concept I am providing the program and I will tell exactly where I am stuck
as far as my understanding goes :- when the client enters his name and age in the form.html the request goes to scwcd servlet where we get a session object then the request is dispatched to a second jsp asking him for plot no and when the user enters the plot number the request goes to "testservlet" servlet where I have written a line (req.getsession()) as my second request carries the session id it is matched and the server comes to know that this another request from the same client and when I write get attribute it gives me back the set attributes and I display it uptill this it is ok but when I disable the cookies the server should generate a new session object and getAttributes should return null but in my case I am getting the set attributes. I am confused.either there is a flaw in my understanding or somehow I am not disabling the cookies in my IE....,
Please help to let me know where I am wrong Thanks in advance(for showing patience!!!) -Abhisek
Thanks very much for replying but still I am facing the same problem,I am getting the values where I am expecting null values.i haven't gone for any encoding of url and no jsession id gets appended in the address bar. can you ive me the path where from I can clear session cookies,.I use IE as my browser
author & internet detective
Originally posted by Dash Abhisek: can you ive me the path where from I can clear session cookies,.I use IE as my browser
I don't use IE so I haven't tried this. However I see something that looks relevant.
Internet Options --> Privacy Tab --> Advanced - to get the settings box Check override automatic cookie handling to enable options Select block first party cookies As long as "always allow session cookies" is unchecked, I think IE would block them.