Welcome to the power of ColdFusion. :) On Tue, Nov 1, 2011 at 6:49 AM, Martin, Donna M <[email protected]> wrote: > > Good morning, > > Don't be sorry, as I knew that would be the case. I tried to read my own > email and make sense of it and failed. I was just hoping. > > HOWEVER, I have great news. I found the problem! > > It appears that, IF the request to have all pages referred to a log-in page > is not in the Application.cfm, the GetAuthUser is delayed, and not available > until the NEXT page request. So...I put all the pages that were secure in a > separate folder, and placed this code in application page for that folder: > <CFINCLUDE TEMPLATE="ForceUserLogin.cfm"> > > This was the last major item I had on my final checklist. I launched the > site late last night. > > I'm Sooooooo happy! > Donna > ________________________________________ > From: Raymond Camden [[email protected]] > Sent: Sunday, October 30, 2011 8:53 PM > To: cf-newbie > Subject: Re: Page refresh before displaying > > I'm sorry, but out of context, this still doesn't quite make sense. I > think we need to focus on your error. You say you get Cannot display > page' error. If you go to your CF Admin, can you disable "Enable HTTP > Status Code" and enable "Enable Robust Exception Information". This > should help flesh out the 'real' error. > > Pastebin is a web site, pastebin.com, It let's you paste code and > share a link to it. It's better then putting code in emails normally. > > On Sun, Oct 30, 2011 at 8:39 AM, Martin, Donna M <[email protected]> wrote: >> >> Sorry, I have never used Pastebin. If I may, here's a snapshot: >> >> * User clicks on a page requiring login: >> <CFSET FName = ListRest(GetAuthUser())> >> <cfset TblName_seq=ListFirst(GetAuthUser())> >> <cfif NOT (IsDefined("ListFirst") and isdefined("ListRest"))> >> <CFINCLUDE TEMPLATE="ForceUserLogin.cfm"> >> </cf > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5710 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
