• Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet notification

 
Jay Brass
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey there,
Can anyone tell me if there is an easy way for a servlet to know when a user leaves a webpage? If they have sent a request from this page, can I tell when they leave the page? I would prefer not to use Javascript.
Thanks
Jay
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean when they close the browser? If that's what you meant, there is no clear cut way beefore you send the response to determine if the browser has been closed.
 
Jay Brass
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah that is what I meant. Thanks anyway.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!