Are you sure the page throwing the error is not available to a user who is not logged in yet?
What if a user made a book mark to a page only accessible when logged in, and then clicked the book mark after logging out? Do you cfparam those session values or check for their existence before accessing them in case the session had expired? Also, you are not throwing on time out. With a timeout of 5 seconds, what if your app timed out trying to set those variables, but since it didn't throw an error, continued to execute the page? ~Brad -----Original Message----- From: Peter Tanswell [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 5:06 PM To: CF-Talk Subject: Element LOGGEDUSERFNAME is undefined in SESSION. I keep on getting an error stating that an element is undefined in Session. I have checked the code but cant see why this is happening. Here is the section of code below. Thanks in advance for an assistance given. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4