After several complaints of errors from users I setup a page to track orders as they are made. I notice that seven out of 10 users seem to lose the sessionID after only 4 minutes or so and a new one is assigned. Rather than track by session ID I decided to use CreateUUID()as my unique identifier. Same thing though. What's odd is half the people are just fine. Could this be a browser or server issue??? Here's my Application.cfm:
Is it OK to use the cfset there or should it be a param or something else?
Thanks again. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
Code:
<cflock type="exclusive" name="searchupdate" timeout="10">
<cfapplication name="searches" clientmanagement="yes" sessionmanagement="yes" setclientcookies="yes" clientstorage="cookie" SESSIONTIMEOUT=#CreateTimeSpan(0,0,30,0)#>
<cfparam name="Session.product" default="0">
<cfparam name="Session.user" default="">
<cfif not isdefined("session.trackuser")>
<cfset session.trackuser=#CreateUUID()#>
</cfif>
</cflock>
Is it OK to use the cfset there or should it be a param or something else?
Thanks again. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic