tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carroll" <>
Subject Re: Session Timeout - Filter Not Called
Date Thu, 22 Apr 2010 18:44:12 GMT
I guess what I really need to be able to do is determine when a user creates a new session.
 This could either be done by the user opening the browser and browse to our application where
the user logs in and the new session is created.  Or the user's session times out and the
user is presented with our login page and the user will login and a new session is created.

--- wrote:

From: Bob Hall <>
To: Tomcat Users List <>
Subject: Re: Session Timeout - Filter Not Called
Date: Mon, 12 Apr 2010 23:58:45 -0700 (PDT)


--- On Mon, 4/12/10 at 7:21 AM, Paul Carroll <> wrote:

> That works in that my filter is
> called when the session times out and the user is redirected
> to the login page.  However, the Referer header makes
> no indication that the user is logging in.

What does the referrer header contain?

> If the request URI is not null, then I can redirect them to the requested
> URI if it has been determined that it is a "safe" area that
> does not need any session variables established.  Is
> there a way to determine if the user's session has timed out
> and the user is logging in once again?

Check for the session variables that would have been set?

- Bob

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message