So I've now taken out the cflocation tag, and replaced it with this: <cfsetting showdebugoutput="no"> <cfapplication name="02133" sessionmanagement="Yes" setclientcookies="Yes" applicationtimeout="#CreateTimeSpan(0,0,3,0)#"> <cfparam Name="Application.DSN" Default="MassInc2"> <!--// set this equal to your IP address if yyou want to enter live debugging mode //---> <cfparam name="Request.Debug" default="">
<cfparam Name="Application.SearchCollectionName" Default="02133"> <!--- check if user has logged out ---> <cfif IsDefined("Form.logout")> <cflogout> <cflocation url="/index.cfm"> </cfif> <!--- check if user is logged in ---> <cfset referrer = GetFileFromPath(CGI.Path_info)> <cfif referrer neq "login.cfm"> <cfif NOT IsDefined("cflogin")> <cfinclude template="login.cfm"> <cfabort> </cfif> </cfif> I'm still getting the redirection limit exceeded problem even when I'm trying to load the login.cfm file - which ostensibly should mean that that last bit of code doesn't even run. This does seem like some sort of infite loop, but I can't figure out where it's located, now that I've taken out the cflocate tag. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200236 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54