HI friends,
I developed a simple application which need user to login and logout.
The problems is when user logout and then he click the back button for more many time, he will get a message from the browser which is:
// Mozilla Firefox
The page you are trying to view contains POSTDATA that has expired from cache. If you resend the data, any action from the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel. //or in IE
Warning: Page has expired
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button. So if he click ok(Firefox)/Refresh(IE), then he will get back the page b4 login, and of cause it is not secure if the page previous contains an important data.
Actually, I refer this article as my guidance:
http://www.javaworld.com/javaworld/jw-09-2004/jw-0927-logout.html //this is some code in my logout.jsp
//all my
jsp pages after login, I put
I have tried to print out the value of dbHost at logout.jsp, and I checked at my LogFile the value is null but then, after do a
test by click the back button the value is the same like b4 logout.
When I did some searching I found this article by the same author
http://www.javaworld.com/javaworld/jw-10-2006/jw-1006-logout.html?page=1 But, it is a little bit difficult for me coz I totally don�t know about
JSF and Stripe. Honestly, I am new in
java.
So my dear friends, could you help me out or have any idea?
Thanks in advance for any hints
Regards
-paoh-
