On Friday, August 16, 2002, at 04:35 , Gyrus wrote:
> - Once you've authorised the user's login details, set their session
> variables.

Don't forget the wonderful new CFMX authentication framework:
        cflogin
        cfloginuser
        cflogout
        getAuthUser()

> - Call a tag from inside Application.cfm that checks for the existence of 
> a
> specific session variable that you set for each login - if it doesn't 
> exist,
> use CFLOCATION to redirect them to the login page.

See above - cflogin saves you having to do this! (i.e., you don't need to 
mess about with your own session variable checking) The new CFMX framework 
also supports 'roles' so you can control which users have access to which 
parts of your site...

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

______________________________________________________________________
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

Reply via email to