even better....if i paste this into my header.cfm
file and run another page that has a cfinclude tag
calling the header.cfm file, 

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

it flips out and hangs like the other page did. yet, if i paste the same
code, into my index.cfm page just under that same include...it works
just fine :)

WTF!!!!!!!!!


-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:39 PM
To: CF-Talk
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
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
                                

Reply via email to