G
I have a website that has a asp secured members only aria that keeps
session variables to check if someone is logged in or not (if session
variables are not there then redirect to logon screen) but I also have
non members aria and I need a way of asking the user if they want to
move away from the members only aria or go back to it. I have used an
asp to find out if the page is a non member page and if there is a
session variable there. If there is a session variable and is a non
member page then I use JavaScript to bring up a confirm box that if
the cancel button is pressed then it goes back a page. The problem is
that when you go back a page the session variable gets lost. Dose
anyone know how to solve this problem or a better way of doing this?
session variables to check if someone is logged in or not (if session
variables are not there then redirect to logon screen) but I also have
non members aria and I need a way of asking the user if they want to
move away from the members only aria or go back to it. I have used an
asp to find out if the page is a non member page and if there is a
session variable there. If there is a session variable and is a non
member page then I use JavaScript to bring up a confirm box that if
the cancel button is pressed then it goes back a page. The problem is
that when you go back a page the session variable gets lost. Dose
anyone know how to solve this problem or a better way of doing this?