File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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();
session.invalidate();?
cheers,
mpr
 
GeeCON Prague 2014
 
subject: invalidating sessions