aspose file tools*
The moose likes JSP and the fly likes Trapping Session timeout in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Trapping Session timeout in JSP" Watch "Trapping Session timeout in JSP" New topic
Author

Trapping Session timeout in JSP

Krishna Mudda
Greenhorn

Joined: Jun 20, 2001
Posts: 10
Hi, I need to trap an event during sessiontime out on sun solaris(iPlanet webserver) to update a flag in database. Can anyone help me out on this.
Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
Create a bean which implements HttpSessionBindingListener, use it in scope session and do the needful on valueUnbound() method.


Shubhrajit
Krishna Mudda
Greenhorn

Joined: Jun 20, 2001
Posts: 10
yaar.. I tried the same and works well on NT(JDK1.2) but not working on sun solaris jdk1.2
I need some help to overcome this or some alternative solution or a different methodology.
Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
I have done it in weblogic 5.1 using JDK1.2.2 in Solaris 5.8 and it works fine !!!
[ June 19, 2002: Message edited by: Shubhrajit Chatterjee ]
 
Don't get me started about those stupid light bulbs.
 
subject: Trapping Session timeout in JSP