Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Simran Simon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic