Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Other Application Frameworks
How to trigger nameContextElementPreUnbound() when we close the browser in ATG?
posted 1 year 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.
I agree. Here's the link:
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