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

Reply via email to