This way works. Thank you so much!
but i still don't understand.
how come i can not type the path by myself?
how come i have to output and copy-paste?
redd
----- Original Message -----
�H���: "Kola Oyedeji" <[EMAIL PROTECTED]>
�����: "CF-Server" <[EMAIL PROTECTED]>
�ǰe���: Friday, March 23, 2001 AM 05:41
�D��: RE: GetTemplatePath()
> check that the loginfile does not have any trailing spaces as it must
match
> exactly, output
> the result of GetTemplatePath() and paste it back into your code to be
sure.
>
> HTH
>
> Kola
>
> -----Original Message-----
> From: Redd Liao [mailto:[EMAIL PROTECTED]]
> Sent: 22 March 2001 23:34
> To: CF-Server
> Subject: GetTemplatePath()
>
>
> hi,
>
> I use IIS on Win 2000.
> In my cfm file:
> I set LoginFile = "C:\Inetpub\wwwroot\cyvdb\index.cfm"
> then I use "IF" :
> <cfif NOT #GetTemplatePath()# IS "#LoginFile#">
> .........
> <cflocation url="index.cfm" addtoken="no">
> .........
> </cfif>
>
> Question:
> I am 100% sure that #GetTemplatePath()# = #LoginFile#,
> but it always re-director the page to index.cfm
> that means that #GetTemplatePath()# is not #LoginFile#,
> but I am 100% sure that #GetTemplatePath()# = #LoginFile#,
> I use UCase(), Lcase(), LTrim() and RTrim(). It still doesn't work.
> What should I do? Thanks in advance.
>
>
> Redd
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com