When I log of I do:
HttpContext.Current.Session.Clear()
FormsAuthentication.SignOut()
The problem is that it clears the variables that I set up in my
Session_Start function in my Global.asax file. One of the variables I set
up is:
Session("Start") = DateTime.Now.ToString
This allows me to track the time that the use is in our system. The
Session.Clear() gets rid of it.
Is there a way to do a good way to do a Clear, but have it not touch some of
the variables?
Thanks,
Tom