-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the calling page, before you redirect to the authentication pages,
setup returnURL like so:

<cfset returnURL = Cgi.Script_Name & "?" & Cgi.Query_String>

Now returnURL will contain anything that was passed after the
question mark.

Hope that helps,
Zac Bedell

- -----Original Message-----
From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 11:21 AM
To: CF-Talk
Subject: creating an url return string


Hey Guys:

I have an application that lets you browse a message board, however
if you would like to post a response you need to log-in (in you arn't
already).  After you log-in, it takes a parameter passed through the
url called returnURL and sends the user after the authentication to
that url.  The problem is that the returnURL has multiple parameters
to it sometimes (e.g.
returnURL=/message/index.cfm?action=submit-response&message_id=foo&ref
URL=/foo/index.cfm)

How can I return the user to that page keeping in tact all of the URL
parameters?

thanx,

greg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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