Tony Are you setting the variable you are checking for anywhere? If Login.cfm is in the same directory then you will end up in an infinite loop as you'll never get to view the login.cfm page
Just a guess Kokla >> > -----Original Message----- >> > From: Tony Weeg [mailto:[EMAIL PROTECTED] >> > Sent: Wednesday, March 12, 2003 10:17 PM >> > To: CF-Talk >> > Subject: RE: ok....im losin it... >> > >> > >> > if i paste everything from the header.cfm, the footer.cfm >> > and the content from another page, with this at the top... >> > >> > <cflock scope="SESSION" timeout="5" type="EXCLUSIVE"> >> > <cfif isDefined("session.csrId") and isNumeric(session.csrId)> >> > <cfquery name="get" datasource="webCollect"> >> > select firstname, lastname from csr >> > where id = #session.csrId# >> > </cfquery> >> > <cfelse> >> > <cflocation url="login.cfm"> >> > </cfif> >> > </cflock> >> > >> > all things work perfect... >> > >> > pasted in the cfincluded file, header.cfm, and ran, no dice... >> > doesnt work....IM LOSING IT....whats up with this? >> > >> > tony >> > >> > -----Original Message----- >> > From: Tony Weeg [mailto:[EMAIL PROTECTED] >> > Sent: Wednesday, March 12, 2003 10:11 PM >> > To: CF-Talk >> > Subject: RE: ok....im losin it... >> > >> > >> > i know, it should work, it has worked for me >> > a zillion times on every freakin site i have ever >> > done....WTF, now its like...for some odd reason it >> > doesnt.... >> > >> > tony..... >> > >> > this is whats in my application.cfm page... >> > >> > <cfapplication name="webCollect" clientmanagement="Yes" >> > clientstorage="cookie" sessionmanagement="Yes" >> > sessiontimeout="#CreateTimeSpan(1,0,0,0)#" setclientcookies="Yes"> >> > <cfparam name="step" default="1"> >> > <cfset today = "#dateFormat(Now(),'mm/dd/yyyy')#"> >> > <cfset adminEmail = "[EMAIL PROTECTED]"> >> > >> > >> > >> > -----Original Message----- >> > From: Bruce Sorge [mailto:[EMAIL PROTECTED] >> > Sent: Wednesday, March 12, 2003 9:58 PM >> > To: CF-Talk >> > Subject: Re: ok....im losin it... >> > >> > >> > I just tried it and it worked. >> > >> > <cfapplication name="Test" sessionmanagement="Yes"> >> > >> > <!--- Comment the next line out to go to Yahoo.com ---> >> > <cfset session.csrID = "Yes"> >> > <cfif isDefined("session.csrId")> >> > <cflocation url="http://www.cnn.com"> >> > <cfelse> >> > <cflocation url="http://www.yahoo.com"> >> > </cfif> >> > ----- Original Message ----- >> > From: "Tony Weeg" <[EMAIL PROTECTED]> >> > To: "CF-Talk" <[EMAIL PROTECTED]> >> > Sent: Wednesday, March 12, 2003 8:38 PM >> > Subject: ok....im losin it... >> > >> > >> > > <cfif isDefined("session.csrId")> >> > > <cflocation url="index.cfm"> >> > > <cfelse> >> > > <cflocation url="login.cfm"> >> > > </cfif> >> > > >> > > why would this not send me to cnn.com, if session.csrId >> > > is not defined? >> > > >> > > color me crazy, but this is for some reason, this in my >> > > application.cfm page is hanging and not loading? WTF? >> > > >> > > thanks >> > > >> > > ....tony >> > > >> > > tony weeg >> > > [EMAIL PROTECTED] >> > > www.revolutionwebdesign.com >> > > rEvOlUtIoN wEb DeSiGn >> > > 410.334.6331 >> > > >> > > >> > >> > >> > >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

