• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

killing a servlet session or an old servlet mapping value in the browser bar...what to do?


I am trying to kill a servlet session in which it seems it should work but it is not. In my doGet method of the Logout Servlet,

I try request.getSession().invalidate(); but it is still valid when i check in debugging.
also when it simply redirects to a servlet mapping uri which is not existent..(it was before and i renamed it and it's not even in the project as a string...) I also restarted the server. I am using the latest Kepler with Tomcat 7.

What to do?

1 Solution
but it is still valid when i check in debugging.

Invalidate should work. How do you check in debugging?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now