|
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 -----Original Message----- 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 |
<<image001.jpg>>
