Maybe I question is not clear. 
I mean it re-directs the page to index.cfm again and again. 
It becomes a forever loop. 
I need to fix this problem. thanks. 
  
redd

  ----- Original Message ----- 
  �H���: Redd Liao 
  �����: [EMAIL PROTECTED] 
  �ǰe���: Thursday, March 22, 2001 PM 06:33
  �D��: 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

Reply via email to