set the url into some kinda variable, maybe a session variable called
tempURL, and save that in a hidden field on the login page. then do your
login process, and if they pass, use the value from that hidden field in a
CFLOCATION. baheheheh!!!
>From: sebastian palmigiani <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: forum subscriptions and logins
>Date: Tue, 12 Jun 2001 14:00:13 -0500
>
>
>I have member site which sets a session variable after login. This site
>also
>has a forum which emails participants when someone replies to their post.
>The email contains the URL to the thread.
>
>If they click on the URL in the email and they are not logged on they will
>be taken to the login page.
>
>How can I work it so that after they do go through the login process they
>are automatically redirected to the thread?
>
>The idea I came up with is to parse the cgi.http_referer to see if it is
>asking for a subscribed thread and then put it in a session variable.
>After
>they have a successful login then use the session variable with cflocation
>to the thread.
>
>Am I on the right track or is there a better way to do this?
>
>Sebastian
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists