Try cgi.script_name.
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
> -----Original Message-----
> From: Bryan Batchelder [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 27, 2000 3:24 PM
> To: '[EMAIL PROTECTED]'
> Subject: cgi.scriptname?
>
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01BFE086.639DCB10
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> Hiya--
>
> I am writing a Custom Tag that needs to generate URLs that point
> back to the page which called it. I am trying to use the cgi.scriptname,
> but it does not work (its defined but blank).
>
> I was planning on doing:
>
> <cfscript>
> strHTML = "<a href=""" & caller.cgi.scriptname & "?action=" & action
> & """>";
> </cfscript>
>
> any reason why that would not work? Why is cgi.scriptname blank?
>
> I am not using sessions if that is any help.....
>
> Danke Schoen,
> --b
>
> ------_=_NextPart_001_01BFE086.639DCB10
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2650.12">
> <TITLE>cgi.scriptname?</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=3D2>Hiya--</FONT>
> </P>
>
> <P> <FONT SIZE=3D2>I am =
> writing a Custom Tag that needs to generate URLs that point back to the =
> page which called it. I am trying to use the cgi.scriptname, but =
> it does not work (its defined but blank).</FONT></P>
>
> <P> <FONT SIZE=3D2>I was =
> planning on doing:</FONT>
> </P>
>
> <P><FONT SIZE=3D2><cfscript></FONT>
> <BR> <FONT SIZE=3D2>strHTML =
> =3D "<a href=3D""" & caller.cgi.scriptname =
> & "?action=3D" & action & =
> """>";</FONT>
> <BR><FONT SIZE=3D2></cfscript></FONT>
> </P>
>
> <P><FONT SIZE=3D2>any reason why that would not work? Why is =
> cgi.scriptname blank?</FONT>
> </P>
>
> <P><FONT SIZE=3D2>I am not using sessions if that is any =
> help.....</FONT>
> </P>
>
> <P><FONT SIZE=3D2>Danke Schoen,</FONT>
> <BR><FONT SIZE=3D2>--b</FONT>
> </P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01BFE086.639DCB10--
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> 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.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message
to [EMAIL PROTECTED] with 'unsubscribe' in the body.