Jeff,

Try:

#listgetat(CGI.SCRIPT_NAME,listlen(CGI.SCRIPT_NAME,"/"),"/")#

That should strip off everything but the current template being executed.

Peter

-----Original Message-----
From: J Davis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 28, 2001 10:20 AM
To: CF-Talk
Subject: Getting current page name.


I am writing a custom tag and I need to get the url of the page calling the
tag to complete the scripting in the custom tag. Can anyone provide a simple
way of achiving this? CF server 4.5. Thank you.

Jeff Davis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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