My point exactly.

Thanks for the support Mark.

GC
----- Original Message -----
From: "Mark Stanton" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 11:15 AM
Subject: [cfaussie] RE: quick question: which is better? calculating CFM
template names:


> >From the docs:
>
> GetTemplatePath - "This function is deprecated. Use the
GetBaseTemplatePath
> function instead."
> GetBaseTemplatePath - "Gets the absolute path of an application's base
> page."
> GetCurrentTemplatePath - "Gets the path of the page that calls this
> function."
>
> So <cfset CurrentPage=GetFileFromPath(GetTemplatePath())> ~= <cfset
> CurrentPage=CGI.SCRIPT_NAME>.
>
> I'd still go for the first one because cgi.script_name is being handed to
CF
> by the web server & you I'd believe CF before I believed the web server.
> However I'd say they would be the same 99.9% of the time.
>
>
>
> Cheers
>
> Mark
>
>
> ------------------
> Mark Stanton
> Technical Director
> Gruden Pty Ltd
> Tel: 9956 6388
> Mob: 0410 458 201
> Fax: 9956 8433
> http://www.gruden.com
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
>


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to