Total members 11894 |It is currently Thu Nov 21, 2024 12:14 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





I need help on session handling using struts.

Steps i am following:
1) Deploy the war in some Webserver.
2) Hit http://hostname:port/App/
3) Username / Password : abc / abc
4) After successful login you can see a jsp with Login Successful
message and a link (Logout) to logout.
5) Click on Logout link. The user logs out successfully.
6) You can find link to re-login, which takes you to login screen.

Problem:
1) Repeat steps 1, 2,3,4,5.
2) Click browsers back button on the Logout Screen.
3) Takes you to a screen saying “Webpage has expired”. (This happens
because I have removed browsers cache in JSP’s)
4) Do refresh using F5.

5) The control takes to the previous screen instead of saying login
expired.

I am using session.invalidate() when the user clicks Logout.

Please help me in moving forward regarding this issue.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

have u found any solution for that??


Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : Session handling using Struts
 Struts advantages     -  
 steps of doing struts on myeclipse     -  
 Struts 2 Security Plugin     -  
 What is Event Handling?     -  
 Exception handling     -  
 try-with-resource automatic handling     -  
 Material Handling Equipment     -  
 Error handling in AJAX     -  
 Event Handling Notes     -  
 Exception Handling in a project     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com