Hello
On Dec 16, 2005, at 10:48 AM, Priya Saloni wrote:
Hi there,
I facing a BIG problem in my struts based application.When i logout my
website and hit back button it showing a page like the following
//
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.
You solve this issue with a redirtect-after-post hack on the logoff
action.
//
When i refresh the page its showing the secured web pages too.
This you solve by putting nocache=true in the <controller> element in
the struts configuration file
My code in
LogoutAction is as follows
request.getSession().removeAttribute("sessionState");
request.getSession().invalidate();
response.sendRedirect("/BMS/logout_success.jsp");
This is correct. Should do the tick
sessionState is the VO where iam keeping all the objects i want to
keep in
session..Is there any way in struts to make sure that it won't
display the
page like above..
Thanks
Priya.
Hope It helps
Marcelo Morales
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]