cgi.script_name is the 'current' page so <cflocation 
url="#CGI.SCRIPT_NAME#"> would send them to the page they are already on 
(basically refresh the page). Perhaps the page checks if they are logged in 
and does something if they are or, if they're not, logs them in and then 
'refreshes' the page.

----- Original Message ----- 
From: "Pete" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, March 21, 2007 8:13 AM
Subject: <cflocation url="#CGI.SCRIPT_NAME#">


Hi there

I have a login page for an application and I am trying to find out what page
a  person goes to once they have successfully logged in.

There is a line in the code:

<cflocation url="#CGI.SCRIPT_NAME#">

But I cant see anywhere in the code what page the user should go to.

Does anyone have any ideas where I could look - how does #CGI.SCRIPT_NAME#
work so as to send a user to a particular page.

Thanks in advance.

P





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273248
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to