Cookies would probably do what you want ... setting it after the first time
they log in.  But you'll want to have a way for admins to log in when they
don't have a cookie (from a different machine, after deleting their cookies
for some reason, getting a new computer, etc.)

H.


> -----Original Message-----
> From: E. Keith Dodd [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 5:52 AM
> To:   CF-Talk
> Subject:      Cookies vs ClientVariables(as cookies)
> 
> (Sent this Tuesday, but it never showed up on the list)
> 
> Want to be able to recognize a few users as site *administrators*, giving
> them option to logon (creating session variables, user structure, etc.) if
> they want when come to their site. Or choose not to logon, staying out of
> administrative mode.
> 
> Since this would just involve recognizing them as potential administrator,
> seems like a regular cookie might make more sense than client variables
> (stored as cookies), which I've used in the past for this function. Would
> just be testing whether the cookie exists or not.
> 
> Would appreciate any comments on whether the cookie makes most sense in
> this
> situation. (I may not be quite understanding the difference, too!)
> 
> Thanks!
> 
> E. Keith Dodd
> Wings of Eagles Services
> www.wingserv.com
> 
> 
> -
> [This E-mail scanned for viruses by declude AntiVirus Software]
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to