-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


I'm using the session object to hold user information when they have logged onto
my system, and I am using code like this to log them off ...

        request.getSession(false).invalidate();

only it doesn't seem to invalidate the session.

I am also using HttpSessionBindingListener, so that when the session
times out from inactivity (or is invalidated) they are logged off, and I can
record that elsewhere (in the database) ...

Doesn't seem to work. 

If I leave it for the timeout as specified in 

        session.timeout=300000    

then it seems to get called, it's just the invalidate that doesn't want to work.

Thanks ...

--
Subvert the dominant paradigm
 http://www.cyber4.org/members/grumpy/index.html


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to