Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem logging out  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody...
I am working with an application using JDBCRealm for security, but I just can�t to make the logout feature to work!!
I had try:
response.setDateHeader ("Expires", 0);
HttpSession sessionid = request.getSession(false);
From other post here and noting is working, I tried CLOSING the browser and restarting de SERVER (Tomcat) and the users is still logged in!! The only method for the browser asking username and password again is restarting the PC where server is running!
Somebody could help me?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!