Register / Login
Other Application Frameworks
How to trigger nameContextElementPreUnbound() when we close the browser in ATG?
posted 2 years ago
I created a class that extends SessionEventTrigger and implemented nameContextElementPreUnbound(). This method gets triggered when the session expires but it doesn't work when I close the browser.
Please suggest some way to get this method triggered as we need to save the data when session expires or when user closes the browser deliberately. I did not find any solution in google.
Invalidate one session from another session.
Listener to detect when session ends
Session Expired after Browser closing
if browser is closed,does session expire?
Session id destroy when browser or tab is closed