The best practice for ending a session is to redirect the user away from your app. The session will automatically die off 3 minutes after that.
Hi Greg.
So just before sending it to a different URL, do all of the cleanup work etc. What happens if the user hits the back button?
Thanks for your response Greg!
Tim
[quote=276876:@Tim Seyfarth]Hi Greg.
So just before sending it to a different URL, do all of the cleanup work etc. What happens if the user hits the back button?
Thanks for your response Greg!
Tim[/quote]
No. Just leave it. Session.Close will fire when the session actually closes. That’s when you do the cleanup. If the user presses the back button, it’ll still be there for them.
Thanks for the clarity Greg!
Tim