use client variables.

<cfif NOT Isdefined("client.deptid") OR NOT Isdefined("client.admin")>
        <cflocation url="../index.cfm" addtoken="No">
</cfif>

<cfif DateDiff( "n", client.LastVisit, now() ) GTE 20> 
        <cflocation url="../index.cfm" addtoken="No">
</cfif>

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-----Original Message-----
From: Ernie Pena [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 3:10 PM
To: CF-Talk
Subject: Members Only section


Whats the best way to handle security on a members section wouldsomthing
like this work? Application.cfm w/cookies set to expire in1 hour, or some
other means please advise.

Here is what kind of box I have,
Windows 2K
SQL 2K
CF5
1gig or ram
36 gig scsi
dule PIII 933

Thanks in advanced
Ernie Pena
Atomicqube


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

Reply via email to