jann,

that's what I originally had, actually something more along the lines
of findNoCase(cgi.template_path,'login.cfm',1) but that tripped up for
some reason...
not sure why....anyhow, I got it now :)

thanks!!!

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337 

-----Original Message-----
From: Jann VanOver [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2003 5:23 AM
To: CF-Talk
Subject: Re: ok....im losin it...


Tony, is your "login.cfm" in the same directory as "Application.cfm" ??

If so, this WILL send you into an infinite loop.  The key to remember is
that when "login.cfm" begins to execute, it FIRST executes
"Application.cfm".  See where the loop comes in?

You can fix this in one of two ways:
1) put login.cfm into another directory with its own Application.cfm
Or
2) Make your application.cfm "smarter"

Eg.
<cfif isDefined("session.csrId")>
  <cflocation url="index.cfm">
<cfelseif cgi.script_name is not "login.cfm">
  <cflocation url="login.cfm">
</cfif>

On 3/12/03 6:38 PM, "Tony Weeg" <[EMAIL PROTECTED]> wrote:

> <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
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to