Ok, I've pasted the code below. I use this to lock the session scope so that if they exit, it will prompt them again. See anything?
<cfapplication name="myclientpro" clientmanagement="Yes" sessionmanagement="Yes" setclientcookies="No" sessiontimeout="#CreateTimeSpan(0,0,20,0)#" applicationtimeout="#CreateTimeSpan(1,0,0,0)#">
<CFSET APPLICATION.APPNAME="myclientpro">
<CFHEADER NAME="Expires" VALUE="#NOW()#">
<CFHEADER NAME="Pragma" VALUE="no-cache">
<CFHEADER NAME="cache-control" VALUE="no-cache, no-store, must-revalidate">
<CFOUTPUT>
<cfset thedsn = 'agathen_autosmart'>
<CFIF not IsDefined("Cookie.CFID")>
<CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="20">
<CFCOOKIE NAME="CFID" VALUE="#SESSION.CFID#">
<CFCOOKIE NAME="CFTOKEN" VALUE="#SESSION.CFTOKEN#">
</CFLOCK>
</CFIF>
<cfif (IsDefined("Session.LoggedIn") and isdefined("session.companyid") and isdefined("session.employeeid")) and session.loggedin eq 1>
<cfset session.loggedin = 1>
<cfelse>
<cfset session.LoggedIn = 0>
</cfif>
</CFOUTPUT>