how to terminate user sessions by asp administrator page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mughrabi

    #1

    how to terminate user sessions by asp administrator page?

    We are looking to create administrator pages to view the current application users(Session) and application administrator must have permission to terminate ASP any session(s)? Session.Abandon only works on the caller's session. Is there something like Session.Kill(Se ssionID) ?

    Thanks
  • Nicodemas
    Recognized Expert New Member
    • Nov 2007
    • 164

    #2
    There is no ability to kill a session that isn't assigned to you. One way might be to invalidate their session by injecting a special script into the pages they view which tests for a special value in a session variable. If that value is present, their session is invalidated and whatever validation logic you have effectively boots them.

    Comment

    Working...