Ben - tried that as well. Login.cfm doesn't have any cflocation tags in it, and 
I've now removed all of them from the application.cfm file - but I'm still 
getting that URL redirection exceeded problem. 

Here's the whole file again, as altered:

<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>
   </cfif>

<!--- check if user is logged in --->
<cfset currentlocation = GetFileFromPath(getBaseTemplatePath())>
<cfif  currentlocation neq "login.cfm">
  <cfif GetAuthUser() eq "">
                <cfinclude template="login.cfm">
         <cfabort>
        </cfif>
</cfif>


Login.cfm is just a simple form, which on submission goes to a login2.cfm page 
with the cflogin code. But I'm getting stopped before I can start to load 
login.cfm. 

My knowledge gets more than fuzzy when you start getting into sessions and 
cookies and such - is there a problem with the code I've got at the top of my 
application.cfm file? 

There's a parent directory above the one where I'm locating this application, 
and that also has an application.cfm file - but it's just session activation, 
no cflocation tags or any other funny business. Would that be causing any 
problems?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200253
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to