I would use either CGI.SCRIPT_NAME to get the name of the CF template being
used and CGI.QUERY_STRING to get the URL variables (if they are needed.)

Alternatively, you could use CGI.PATH_INFO to get the whole lot but using
this CGI variable can be sucky at times.

----- Original Message -----
From: "Norman Elton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, October 20, 2000 10:39 AM
Subject: RE: Current URL Variable?


> No, HTTP_REFERER returns the name of the page that sent the user to the
> current page. I need the name of that current page. If a user visits
> 'http://www.mysite.com/mydir/mypage.cfm', how do I refer to that URL
within
> mypage.cfm?
>
> Norman Elton
> Information Technology
> College of William & Mary
>
> -----Original Message-----
> From: BORKMAN Lee [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 7:26 PM
> To: CF-Talk
> Subject: RE: Current URL Variable?
>
>
> Are you thinking of HTTP_REFERER?
>
> Lee (Bjork) Borkman
> http://bjork.net ColdFusion Tags by Bjork
>
> -----Original Message-----
> From: Norman Elton [mailto:[EMAIL PROTECTED]]
>
> Isn't there a variable (CGI?) that contains the URL the visitor used to
> access the current page? I looked through the CGI variables, but couldn't
> find it. I know it must be very simple :)
>
>
>
> IMPORTANT NOTICE:
> This e-mail and any attachment to it is intended only to be read or used
by
> the named addressee.  It is confidential and may contain legally
privileged
> information.  No confidentiality or privilege is waived or lost by any
> mistaken transmission to you.  If you receive this e-mail in error, please
> immediately delete it from your system and notify the sender.  You must
not
> disclose, copy or use any part of this e-mail if you are not the intended
> recipient.  The RTA is not responsible for any unauthorised alterations to
> this e-mail or attachment to it.
> --------------------------------------------------------------------------
--
> --------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a
> message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to