File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes How to trigger nameContextElementPreUnbound()  when we close the browser in ATG? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How to trigger nameContextElementPreUnbound()  when we close the browser in ATG?" Watch "How to trigger nameContextElementPreUnbound()  when we close the browser in ATG?" New topic
Author

How to trigger nameContextElementPreUnbound() when we close the browser in ATG?

Simran Simon
Greenhorn

Joined: Mar 04, 2014
Posts: 1
Hi All,

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.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to trigger nameContextElementPreUnbound() when we close the browser in ATG?