The only thing I see incorrect is the Lock. It should be "Readonly". This is because you are referencing the session.uid and not setting it.
What about the page where you are setting the session.uid. Is it in a cfif block that is not getting set!? Just shooting in the dark now...;-) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:08 AM To: [EMAIL PROTECTED] Subject: RE: Session variable Below is my application.cfm Notice that I check if session.uid exist then request.uid is setup. <CFAPPLICATION NAME="Feedback" SETCLIENTCOOKIES="Yes" APPLICATIONTIMEOUT="#CreateTimeSpan(1,0,0,0)#" SESSIONMANAGEMENT="Yes" SESSIONTIMEOUT="#CreateTimeSpan(0,8,0,0)#"> <CFSETTING SHOWDEBUGOUTPUT="no"> <CFSET request.cookie_name = "Feedback"> <CFSET request.web_root = "/depts/its/Feedback"> <CFSET request.DSN = "itsUpdate"> <cfif IsDefined("url.topic_cd")> <cfset topic_cd =#url.topic_cd#> <cfelse><cfset topic_cd="FC"> </cfif> <cfif IsDefined("url.dept_cd")> <cfset dept_cd = "#url.dept_cd#"> <cfelse><cfset dept_cd="126"> </cfif> <!--- who to send the emails to ---> <CFSET request.emails = "[EMAIL PROTECTED]"> <CFLOCK TIMEOUT="5" THROWONTIMEOUT="Yes" TYPE="EXCLUSIVE" SCOPE="SESSION"> <CFIF IsDefined("session.uid")> <CFSET request.uid = session.uid> </CFIF> </CFLOCK> Henry Dilsky ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
