When a person login into my website (default.asp), I check the userid and password and then assign a session variable session("loginSuccess) = "Y" or "N" for yes or no.
In my logout.asp, I have
session.abandon
which calls the Session_OnEnd function in global.asa.
In global.asa, I have
Sub Session_OnEnd
session("loginSuccess"
= ""
end sub
and when I manually type in " it somehow still allows me to go into that page.
In menu.asp, I have
if session("loginSuccess"
= "Y" then
...
end if
Can somebody help me debug this annoying code?
Thank you.
In my logout.asp, I have
session.abandon
which calls the Session_OnEnd function in global.asa.
In global.asa, I have
Sub Session_OnEnd
session("loginSuccess"
end sub
and when I manually type in " it somehow still allows me to go into that page.
In menu.asp, I have
if session("loginSuccess"
...
end if
Can somebody help me debug this annoying code?
Thank you.