Forums Register Login

servlet notification

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Yeah that is what I meant. Thanks anyway.
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 435 times.
Similar Threads
load-on-startup in web.xml
Handle window close event
How to pass a class object from servlet to jsp page
storing a whole page in a session
When to use beans or servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:49:33.