You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jfc100 <jf...@btopenworld.com> on 2002/05/08 00:41:52 UTC
session.invalidate() doesn't affect userPrincipal value - why?
Calling session.invalidate() on my j2ee-dec-sec form-based (aka
j_security_check) logged-in user's session doesn't register the change
within the request - that is the current request. The following request
has no principal associated with it but I need the change to register
with the request immediately.
How do I update the request so that immediately after
session.invalidate(), getUserPrincipal() returns null? I need
getUserPrincipal() to return an accurate value within my presentation
layer - i.e. template selection?
Thanks
Joe
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>