I have a cfc that is written to the application scope on server start. I need to check weather a user is logged in so is it ok to check for the session scope within this cfc?
like this <cfif structKeyExists(session,"userID")> <cfset var userID = session.userID> </cfif> or should I handle this check within another cfc that is invoked directly (by form post) and then pass the result onto the cfc in the application scope? Andrew. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277516 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4