tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: SessionListener not being invoked
Date Wed, 02 Dec 2009 17:31:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken,

On 12/1/2009 2:36 PM, Ken Bowen wrote:
> No, we always create a session (or want to).
> The only <%@ in the welcome page are
> 
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
> 
>  As I mentioned at the end of the initial email,  this all works (i.e.,
> as session is created) when I run the same welcome page with the same
> SessionListener and the indicated change to the context-param ; and run
> it as webapps/strongbrain/ instead of webapps/ROOT.  That's what's so
> mysterious.
> 
> Obviously, something else is being changed too.   But sessions have
> never been optional in this app.

I didn't quite understand your original report, but is it possible that
one of these clients already has a valid session and therefore a new one
isn't being created?

That might be possible, even after a webapp/container restart if you
have Tomcat configured to persist sessions across such restarts (which
is the default configuration).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksWpHgACgkQ9CaO5/Lv0PBaUQCfbcuQ+bgTQKudElNSi0i9Y8eX
x1wAoKyA9rQPGuJ5AzFw0GIvuHhJt7X8
=gOgm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message