Re: How to detect that session has expired ?

2003-12-10 Thread Kirk Wylie
D'oh! That's the one I ment, not ServletContextListener. Kirk Must proofread before sending Wylie M7 Corporation Curtis Taylor wrote: HttpSessionListener is your friend...;-) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html Kirk Wylie wrote: Ashish

Re: How to detect that session has expired ?

2003-12-09 Thread Curtis Taylor
HttpSessionListener is your friend...;-) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html Kirk Wylie wrote: Ashish Kulkarni wrote: HI if u are using servelt 2.3 , then u can use servelt filter, in this filter u can have logic to check session before

Re: How to detect that session has expired ?

2003-12-08 Thread Kirk Wylie
Ashish Kulkarni wrote: HI if u are using servelt 2.3 , then u can use servelt filter, in this filter u can have logic to check session before each request so u dont need to add any code in jsp or action class If he's using Servlet 2.3, then he can also use the ServletContextListener in

RE: How to detect that session has expired ?

2003-12-08 Thread Edgar P Dollin
: How to detect that session has expired ? Ashish Kulkarni wrote: HI if u are using servelt 2.3 , then u can use servelt filter, in this filter u can have logic to check session before each request so u dont need to add any code in jsp or action class If he's using Servlet 2.3, then he can

How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
Hi All, How can I detect that session has expired and so throw the user out of system after showing him a message that Your session has expired. Please login again. Thanks, BS - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: How to detect that session has expired ?

2003-12-07 Thread Thomas Cornet
When a session restarts, its context is empty, so all objects stored in the session context have disappeared. To detect if a session has restarted, you need first to store an object in the session context, then each time you need to know if the session has restarted, you test its presence

RE: How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
care all Action Classes. Thanks, BS -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 2:17 PM To: Struts Users Mailing List Subject: Re: How to detect that session has expired ? When a session restarts, its context is empty, so all

Re: How to detect that session has expired ?

2003-12-07 Thread Mick
On Sun, 07 Dec 2003 12:39:46 +0530, Baljinder Singh wrote: How can I detect that session has expired and so throw the user out of system after showing him a message that Your session has expired. Please login again. javax.servlet.http.HttpSessionListener

RE: How to detect that session has expired ?

2003-12-07 Thread Mohan Radhakrishnan
Of Mick Sent: Sunday, December 07, 2003 5:12 PM To: [EMAIL PROTECTED] Subject: Re: How to detect that session has expired ? On Sun, 07 Dec 2003 12:39:46 +0530, Baljinder Singh wrote: How can I detect that session has expired and so throw the user out of system after showing him a message that Your

Re: How to detect that session has expired ?

2003-12-07 Thread Ed Dowgiallo
. Or is there a common solution which can take care all Action Classes. Thanks, BS -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 2:17 PM To: Struts Users Mailing List Subject: Re: How to detect that session has expired ? When

Re: How to detect that session has expired ?

2003-12-07 Thread Ashish Kulkarni
to all your Action classes, extend the Struts Action class. Ed - Original Message - From: Baljinder Singh [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, December 07, 2003 5:41 AM Subject: RE: How to detect that session has expired ? Thomas

RE: How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
Ashish, Can you provide me with more details about how to use Servlet Filter ? Thanks, BS -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 9:15 PM To: Struts Users Mailing List Subject: Re: How to detect that session has expired ? HI

RE: How to detect that session has expired ?

2003-12-07 Thread Tim Lucia
, Inheritance is your friend. Get to know him, and his cousin, Poly. Poly Morphism. Tim Lucia -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 10:45 AM To: Struts Users Mailing List Subject: Re: How to detect that session has expired

RES: How to detect that session has expired ?

2003-12-07 Thread Felipe Nascimento
Users Mailing List Assunto: RE: How to detect that session has expired ? Ashish, Can you provide me with more details about how to use Servlet Filter ? Thanks, BS -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 9:15 PM To: Struts Users