I'd just do it like in Ben's book. in the Application.cfm, check to see if
A Session.Logged exists. If not, then make it and set it to False or 0 (or
however u wnna do it), and close the CFIF tag. Then do another CFIF to
check if Session.Logged is FALSE and if it is, check to see that they are
not on the login page, and if they arent do a CFlocation to the login page.
:)
,
Pooh Bear
Web App Developer
Picture Below (chicks dig my head!)
<HTML>
<HEAD></HEAD>
<BODY>
<IMG SRC="http://www.geocities.com/kickerazn_2000/sniffles_138x92.jpg">
</BODY>
</HTML>
>From: CFHelp <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Securty
>Date: Thu, 09 Aug 2001 13:18:16 -0500
>
>I have an admin section on a few sites and was wondering what the best
>way to handle security is. Would I run a session using a cookie to
>timeout the login? Do I use CFApplication? The administrators need to be
>able to login from anywhere.
>
>What are the ways the CFGods wish it be done?
>
>
>
>Rick Eidson
>Owner
>http://www.kchost.net/
>KChost is getting ready to launch it's enews service
>Now you can moderate your own affordable newsletter
>Promote you products and services even sell advertising. Plans start at
>$5 a month for 500 emails. FREE Trial account.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists