Hmm.  Only partly works for me.  Only the the 
#CGI.SERVER_NAME# part returns anything

Same problem with #CGI.SCRIPT_NAME# amd 
#CGI.QUERY_STRING# suggested by somebody else

> The following works within a CF page:
> 
> Current URL is http://#CGI.SERVER_NAME##CGI.PATH_INFO#
> 
> Hope this helps
> H   Larry Juncker
>  L  Senior Cold Fusion Programmer
>   I Heartland Communications Group
>           Internet Division
> 
> ]
> -----Original Message-----
> From: Mark Armendariz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 10:58 AM
> To: Cf-Talk
> Subject: How do I get my Current URL
> 
> 
> I've done this 100's of times, and I've drawn a blank. How do I get the
> current URL of the page I'm working on (full URL with parameters) within a
> variable? I'm trying to do a "Print This Page" button which will, with an
> additional parameter of &Print=1, kill the menus and titles and print the
> page. I have all the javascript and other functionality in place, I just
> need the link that refers to the currentpage with the added parameter.
> 
> Thanks...
> 
> 
> 
> Mark Armendariz
> Righteous Design
> 
> www.sorighteous.com
> 
> 
> ----------------------------------------------------------------------------
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> 
> ----------------------------------------------------------------------------
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or s
end a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.


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

Reply via email to