Hi
First of all pardon me if the heading is misleading or confusing. Could not think of anything proper as the problem itself is weird. Here it is:
I do a normal login processing by accessing parameters in
servlet as:
I validate there and move forward to subsequent pages. By doing this, according to me, I keep changing (with every request), request parameters' values because
they are valid for this current request. I am clearing the cache to prevent any back button retrieval from browser. But when I click the back button and come to first page i.e the one after login, the values from the request parameter "which were there when i made the request for this page" are still there.
I debugged it and found so you can trust me on this.
I hope this clears it somewhat.
while going forward
login-->access values in servlet via request parameters , assume successful validation-->home page --> next page1 --> next page2-->next page 3
I think while making all these requests, request parameter values keep changing and off course, old ones keep getting replaced.
while traversing backward through back button. All requests hit server. forced no-caching
next page 3 --> next page 2 --> next page 1 --> home page
for debugging purposes i display the user id and password text box values on home page. It is more like "this is what i entered while logging in". I see those values while going forward, and rightly so. But while coming backward too, i see those values. How is it possible. There have been many requests in between and each might have changed the request parameter value.
The problem is somewhat weird and i am not sure if i have been able to convey it clearly. Please let me know if any further explanation/information is required. I would not even have found it had it not triggered some other validation issues, which I have purposely not put here because I feel that would be diverting. Just assume that this is what is happening. Is this normal behavior on part of browser. "not saving the pages but request parameter values for those pages".