• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session Killing

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am working with a web application based on JSP/Servlets and JavaBeans.
The application maintains sessions for individual users using the session variable concept. And it also stores the session id for individual users in a MS-SQL table meant for storing users logged in and their details.
I want to implement a feature that will enable the administrator of application to kill/ invalidate the session of any user who is currently using the application. Can the session id which is stored in the database be used for killing the session. If so, how to go about it...
Else any other alternatives to invalidate a session ???..kindly help.
Regards,
Loki
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out this Thread
Listening for Session End
Basically you need to implement the HttpSessionListener interface to receive notification when the session is invalidated.
HTH
 
lokesh natarajan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Andy,
i want some other user(administrator) to kill the session of another user(normal user) using the normal users session id...
HttpSessionListener will inform only when the current session is invalidated....i hope i am right..
any solutions u have ???
regards,
loki
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic