Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes invalidating sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "invalidating sessions" Watch "invalidating sessions" New topic

invalidating sessions

vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
how can i invalidate sessions???when i say sesion.invalidate then there is a exception telling me that there is no method called invalidate, do u have any idea where im doing wrong???

SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Manjunath Reddy
Ranch Hand

Joined: Jul 26, 2001
Posts: 60
Are you sure that you are using something like
HttpSession session= request.getSession();
I agree. Here's the link:
subject: invalidating sessions
It's not a secret anymore!