Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trapping Session timeout in JSP

 
Krishna Mudda
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a bean which implements HttpSessionBindingListener, use it in scope session and do the needful on valueUnbound() method.
 
Krishna Mudda
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic