Web Bug from cid:[EMAIL PROTECTED]

Gary,

 

Look at the <cflogin> and <cfloginuser> tags in the documentation.  It should give a decent example how to use them.  CFLOGIN is going to act as your detection tag and CFLOGINUSER logs the user into their session

 

You can then use CFLOGOUT to log the user out and isUserInRole() and GetAuthUser() to authorize users into sessions.

 

Don’t rely on the ROLL YOUR OWN method that you might have used in CF 5 and before.  

 

HTH

Dan

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alford, Gary L
Sent: Tuesday, January 11, 2005 8:03 AM
To: DFW ColdFusion Users Group (E-mail)
Subject: Application.cfm...

 

Is there a way to set up my Application.cfm file that will check to see if a user is logged in and, if not, redirect the URL to the main log in page for users who try to "back door" into the system?  Currently, I am performing a check on the definition of a valid security level on each and every page.  But I thought there might be an easier way.

 

Any suggestions would be greatly appreciated.

 


Gary L. Alford
Manufacturing Operations Project Specialist
Bell Helicopter XWorx
Phone: (817) 280-6233     Fax: (817) 278-6233
[EMAIL PROTECTED]

I have not failed.  I've found 10,000 ways that won't work.
          Thomas A. Edison


 

<<image001.jpg>>

Reply via email to