struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Armstrong" <big.steve....@sympatico.ca>
Subject RE: how to tell invalid session vs session timed out
Date Sat, 27 Sep 2003 15:05:47 GMT
Hi,

I use the cookie approach outlined here:

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg63933.html

There is also another thread involving this issue starting here:

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg72578.html

Cheers,
-Steve

-----Original Message-----
From: Warren Chen [mailto:warrenchen03@yahoo.com]
Sent: Thursday, September 25, 2003 7:06 PM
To: Struts Users Mailing List
Subject: how to tell invalid session vs session timed out


Hi All,

Is there any tool in Struts that can tell if an
invalid session is caused by timeout or simply no
session were ever created?

(In my app, the loginAction creates a session and put
some stuff into the session, in each subsequent
request I'll check if session is valid, if not, send
user back to login page - in order to send more
meaningful message to user, I want to tell if invalid
session is caused by timeout out or simply the user
never logged in) 

Thanks a lot!

Warren

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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



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


Mime
View raw message