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
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4