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