The error might be before line 20...  try removing the comments and 
see if that makes a difference

At 03:32 PM 1/14/2013, you wrote:

>Okay, so I found a different stand-alone set of login pages/code on 
>a different website, but when I try to go to the index.cfm page 
>(which previously worked w/o the inclusion of the new pages/code) I get:
>
>Invalid token c found on line 20 at column 4.
>
>18:calling THIS page (application.cfc) is login.cfm and not 
>login_process.cfm as
>19:that will cause an infinite loop of application.cfm being 
>called.Use this call--->
>20:   <cfif session.allowin NEQ "true">
>21:     <cfif listLast(cgi.script_name, "/") EQ "login.cfm">
>22:     <cfelseif listLast(cgi.script_name, "/") EQ "loginProcess.cfm">
>
>(Lines 18 and 19 are the end of a comment which I paraphrased from 
>the example on the other site).
>
>I'm not seeing any sort of error in the syntax of the statement 
>although if I understand the reading correctly line 20 could be shortened to:
>
><cfif ! (session.allowin)>
>
>The new code I'm using is fairly voluminous compared to the original 
>post's so I can post it if necessary (pls request) but I'm thinking 
>one of you probably will know what is wrong based on the error 
>itself.  Looking forward to your continued responses.  Thanks!
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to