File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes session invalidate for session id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "session invalidate for session id" Watch "session invalidate for session id" New topic
Author

session invalidate for session id

pk chaurasia
Greenhorn

Joined: Mar 08, 2007
Posts: 5
hi to all,


i want to invalidate the session for a specific session id.
for invalidate the session we know [cpode]session.invalidate();[/code]
but it invalidate the current session.

please reply me, i m waiting....

Thanks
pramod
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Insofar as I am aware, there is no way to invalidate another user's session. It would be a major security hole if you could. Imagine the damage that could be done if one user could sign on and then invalidate everybody else's session.

Perhaps if you explained what you are trying to accomplish, we might be able to suggest alternate methods to achieve the same end.
[ March 13, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session invalidate for session id