Assigning Session Variables
If I have a session variable in an include file
Sesssion("User")
If I have 2 links set up like this
<a href="MainView.asp" target="_top"><%Session("User") = "guest" %>Click Here</a>
<a href="MainView.asp" target="_top"><%Session("User") = "Member" %>Member</a>
How do I set the variables to nothing when the user returns to this page, either by back button or by link, because the session is just holding what ever the last one I clicked on was. Unless I re open the browser. I tried this
<% Session("user") = "" %> But it dosen't work right, when I go back to the page and click on the link again it dosen't change the variable. Is there a better way to go about this, or am I just missing something. Thanks for your help :)
__________________
-----------------------------------------------------------
\"Don\'t follow someone who\'s not going anywhere\" John Mason
|