• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session invalidate for session id

 
pk chaurasia
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic