Hy!

Try HTTTP_REFERER!


Bye,

Iztok
----- Original Message -----
From: "Bryan Batchelder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 00:23
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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>I am =
> writing a Custom Tag that needs to generate URLs that point back to the =
> page which called it.&nbsp; I am trying to use the cgi.scriptname, but =
> it does not work (its defined but blank).</FONT></P>
>
> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>I was =
> planning on doing:</FONT>
> </P>
>
> <P><FONT SIZE=3D2>&lt;cfscript&gt;</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>strHTML =
> =3D &quot;&lt;a href=3D&quot;&quot;&quot; &amp; caller.cgi.scriptname =
> &amp; &quot;?action=3D&quot; &amp; action &amp; =
> &quot;&quot;&quot;&gt;&quot;;</FONT>
> <BR><FONT SIZE=3D2>&lt;/cfscript&gt;</FONT>
> </P>
>
> <P><FONT SIZE=3D2>any reason why that would not work?&nbsp; 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?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to