You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sri Sankaran <Sr...@sas.com> on 2002/10/21 15:31:22 UTC

RE: struts Newbie - login screen

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: struts Newbie - login screen

Posted by deepank <de...@sasken.com>.
Why should a new session be initialized for nothing!!!
----- Original Message -----
From: "Sri Sankaran" <Sr...@sas.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, October 21, 2002 7:01 PM
Subject: RE: struts Newbie - login screen


> 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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>