The reason I have two Application.cfms is that the /PowerCo/Application.cfm is the full on Application.cfm that sets almost everything I need, the /PowerCo/Login/Application.cfm sets variables/checks that are specific to that directory, then calls the /PowerCo/Application.cfm.
I have an Application.cfm in every subdirectory, they all set directory specific variables, then call the Application.cfm from the directory above. It stops at the /PowerCo/Application.cfm. Again, this has never been a problem in the past, and only the login screen is doing this weird have to login more than once thing. Steve -----Original Message----- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 8:02 AM To: CF-Talk Subject: Re: Strange happenings in a login. CFMX 6.1 I've just figured why you have the two applications; so that you can access the login page doesn't require login right? If that is causing the problem, you can create a list of templates that don't require login - then when you check whether the user is logged in in Application.cfm, also check that the current template is not in the list of templates that doesn't require login. Dominic On 13/02/2008, Dominic Watson <[EMAIL PROTECTED]> wrote: > > At a guess (have only had time to scan), I'd say it may be due to the two > Application.cfm's. > > Is there an absolute reason for the login to be it's own application? Try > ditching /PowerCo/login/Application.cfm and put the code in the appropriate > place in /PowerCo/Application.cfm. > > HTH > > Dominic > -- > Blog it up: http://fusion.dominicwatson.co.uk > -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298871 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

