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