views:

23

answers:

0

Hello

I'm working on an ASP.NET MVC 2 project and I would like to know how could I clear the Session state each time a new request is initiated by a browser. I want to use the Session state as long as the user stays on the page but once he closes it, I want to discard all Session variables, so next time when the page is requested I can create a new Session variable.

Thanks in advance.