Absolutely--how are you doing your login check now? Do you have a session variable get set once they login, are you using cflogin, etc.?
Without seeing what you're doing I can't say for sure, but if you're doing a login check on each page you can take that exact same code and put it in your Application.cfm file. If you have areas of the site that don't require a login and others that do, you can also include one Application.cfm file inside another, so you could have your "no login" Application.cfm file at one directory level above your "login" Application.cfm and include the former in the latter. Let me know if that doesn't make sense. Matt On Tue, 11 Jan 2005 08:02:50 -0600, Alford, Gary L <[EMAIL PROTECTED]> wrote: > > 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 ________________________________ > > > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
