On my hello username box in the corner, I had the "If you are not USername, please login." With login being an href to the home page like this:
if session("CandID"
<> "" then
dim helloString
helloString = "<h3>Hello " & session("UserName"
& "!</h3>"
helloString = helloString & "If you are not " & session("UserName"
& "<br> please "
helloString = helloString & "<a href='default.shtml'>log in.</a>"
Response.Write helloString
else
etc.
I also want to kill the session variable that was obviously created incorrectly when the user clicks the link. Is there a way to have an onClick on an href?
i.e. session("CandID"
= ""
session("UserName"
= ""
Thanks in advance for any help.
if session("CandID"
dim helloString
helloString = "<h3>Hello " & session("UserName"
helloString = helloString & "If you are not " & session("UserName"
helloString = helloString & "<a href='default.shtml'>log in.</a>"
Response.Write helloString
else
etc.
I also want to kill the session variable that was obviously created incorrectly when the user clicks the link. Is there a way to have an onClick on an href?
i.e. session("CandID"
session("UserName"
Thanks in advance for any help.