ralph4208w
Programmer
Hi,
I'd like my site to check if a user is logged in. If she/he is not logged in, then redirect the page to a login page, and eventually come back to the originally requested page.
Let's say I have: main.asp?this=2&that=4
the system will see that a login is needed, go to the login screen, see a cookie, redirect to a page that logs the user's entrance, and then finally redirect back to the main page.
What is a good way to pass a querystring as a parameter and then load it later. For example, the login page would see this url: /login.asp?main.asp?this=2&that=4
What is the easiest way to handle this?
Thank you in advance!
sites I like: .. let's me find new movies to watch
I'd like my site to check if a user is logged in. If she/he is not logged in, then redirect the page to a login page, and eventually come back to the originally requested page.
Let's say I have: main.asp?this=2&that=4
the system will see that a login is needed, go to the login screen, see a cookie, redirect to a page that logs the user's entrance, and then finally redirect back to the main page.
What is a good way to pass a querystring as a parameter and then load it later. For example, the login page would see this url: /login.asp?main.asp?this=2&that=4
What is the easiest way to handle this?
Thank you in advance!
sites I like: .. let's me find new movies to watch