Thanks,<br />Prabhakaran.M
Originally posted by K Kiran Kumar:
Hi Ajay,
I too have come across the same situation. But in my scenario, I have set the userid, password, etc., in session and while logging off, I had invalidated the session. After you logoff, click on the back button, you don't get the necessary info in the jsp page, resulted in an exception (I made the code accordingly), then redirected to the homepage.
Regards,
Kiran.
Usman Saeed
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Originally posted by chriswelz:
This will not work in Firefox!!
Also it's not a very usable behavior that you will get an "Page expired" Error Message.
There must be a better solution?
chris
Steve
Raghavan Muthu wrote:The second of two options what Ben suggested is the simple one and easy way to get rid of this.
Try include the following code snippet in your Jsp page.
It works perfectly!
Learning some thing New Every Day