Hi guys,

I'm writing a simple app whereby a user has to be authenticated.  They
log in with username/password and then that is checked in the database.
I'm then creating a client.username type thingy and anyone who isn't
logged in I have a <cfparam name="client.username" default="guest">.

Then when a page is visited I am doing the basic step of <cfif
client.username is not "guest">blah blah</cfelse>you have to log
in.</cfif>

Am I doing it the best way?  Is there a better way?  Maybe there's a
better way so that when the app grows there could be a system where
depending on your level of authorisation it'll allow you to do
more/less.

Thanks,

Saturday




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to