HI
     We are not finding it that easy. It could expire anywhere after the
filter.

Mohan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: SV: Session Time Out


Hi

Use a servletfilter to trap when a new session is created, and do what
ever you want to there.

Hermod


-----Opprinnelig melding-----
Fra: Adam Hardy [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 09:56
Til: Struts Users Mailing List
Emne: Re: Session Time Out


Hi Kumar,
struts will create the session. AFAIK there is no way to disable it in
struts.

Adam

On 03/30/2004 11:17 PM Kumar M wrote:
>
> I am setting the web application to time out in 60 mins. After that if

> the user sends a request from the expired browser session I was hoping

> to identify that state using "request.getSession(false) == null" in my

> Action Servlet.
>
> But I am noticing that "request.getSession(false)" is never null. When
I
> looked carefully at the other attributes on Session, I noticed that
the
> "isNew" attribute is set to true. According to the API,
>
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSer
vletRequest.html#getSession(boolean),
> request.getSession(false)  should return null when there is no session

> in progress for that request. I am wondering if the web server creates
a
> session if there is not one associated with this request.
>
> Could some one confirm if this is true? I am using JDK 1.3 and
Weblogic 6.1
>
> Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email.

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to