Trying to create a login app for a section of the site.
All in the same directory I've got:

1. application.htm
2. login.cfm
3. login_process.cfm

Problem I've got is, on my local dev machine, trying to preview the
login.cfm file puts me into a nasty endless loop.

<CFAPPLICATION name="AAISecure" clientmanagement="Yes"
sessionmanagement="Yes" setclientcookies="Yes">
        <CFIF NOT IsDefined("Session.LoggedIn")>
                <CFSET Session.LoggedIn=False>
        </CFIF>

        <CFIF Session.LoggedIn EQ FALSE>
                <CFIF NOT (CGI.PATH_INFO EQ "/login.cfm") OR (CGI.PATH_INFO EQ
"/login_process.cfm")>
                        <CFLOCATION url = "login.cfm" addtoken="No">
                </CFIF>
        </CFIF>

Shouldn't "CGI.PATH.INFO" EXCLUDE both "login.cfm" and "login_process" from
being redirected back to "login.cfm" while the pages are being processed?
Doesn't seem to be the case.  Or maybe I've just got the syntax wrong here.

I tried both document ("login.cfm") and site relative ("/login.cfm") paths,
but seems to make no difference.



I'm on the verge of figuring all this out, there's just a few stupid things
I ain't quite got my head wrapped around yet!


Les Mizzell
***********
Some people say I'm too apathetic.
But why should I care?

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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