This content has been marked as final.
Show 3 replies
-
1. Re: Flush won't work
petertje Mar 14, 2003 10:49 AM (in response to chris.is)You cannot logout by flushing the cache! It's just a cache!
What happens is that the user's security credentials are still associated with his session. That's why you can "login" without username/password.
To logout a web user, simply remove the session:
session.invalidate().
Hth
Peter. -
2. Re: Flush won't work
chris.is Mar 19, 2003 3:24 AM (in response to chris.is)Tried that also.
If you push the log-out button, then it calls the
flush method and it does : request.getSession().invalidate(); .
Then it redirects you to the main screen. Then if I push the log-in button again.. it just goes on and does not show me the pop-up-box asking for the username and password.
So somehow it still uses the data. -
3. Re: Flush won't work
petertje Mar 19, 2003 3:58 PM (in response to chris.is)BASIC authentication i guess?