What's wrong if the user navigates back and views the login screen?  

Your application can just discard the earlier session and re-initialize.

Don't try to circumvent standard browser behavior.

Sri

-----Original Message-----
From: deepank [mailto:deepank@;sasken.com] 
Sent: Monday, October 21, 2002 9:33 AM
To: Struts Users Mailing List
Subject: struts Newbie - login screen 


Hi,
This question is not exclusive to Struts but i am hopeful Stuts must be having a 
solution for this.

Once i authenticate a user and store his user information in session, i dont want that 
the login screen should appear again, unless ofcourse the user logs out or the session 
expires. As of now in my application, the user can always click the "BACK" button 
on the browser and access the login screen. MUST i use JAVASCRIPT to prevent this, or 
Struts can help me here.

Deepank

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to