yourdomain.com#CGI.SCRIPT_NAME#?#QUERY_STRING# should do it.
HTH,
Peter Janett
New Media One Web Services
================================
WEB HOSTING FOR WEB DEVELOPERS
================================
Sun, IRIX, Windows 2000, Linux;
PHP, MySQL, Perl, Cold Fusion,
MS SQL, ASP, SSI, SSL
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
----- Original Message -----
From: "Andrew Peterson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 2:13 PM
Subject: Capture URL as Variable
> Hi,
>
> This is probably a dumb question. Let's say a user is visiting a page on
my
> site called
> www.mysite.com/homepage.cfm?memberid=123 and I want to capture the
template
> name and corresponding name/value pairs (in this case,
> homepage.cfm?memberid=123) into a variable? Is there a function that does
> this? I can use GetFileFromPath(GetTemplatePath()) to get homepage.cfm,
but
> that leaves out everything after cfm. Basically, I want to create an
> application which will allow users to bookmark their favorites on my site,
> so I need everything captured after the .com.
>
> Thanks for any help.
>
> Andrew
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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