Prev   Next

Back to the top of the FAQ

Q. I'm using cookie-based login. A user bookmarks a page, then the following week she returns to it and is sent to the login page. Now I want to redirect her to her original bookmarked page.

A. When they try to go to the bookmarked page and the login page comes up, the URL should look something like this:
https://www.flicks.com/?reason=denied_cookie_timed_out&script_name=/secure/scripts/acookielogin/members/authentix.GIF
Grab the script_name out of the QueryString, pass it on to loginnow.asp, and redirect to the script_name in loginnow.asp.

If there are parameters (eg protectedfile.htm?x=1&t=2) then these will be passed to the login page too (at least with 5.3 and above).

Back to the top of the FAQ

Prev   Next