Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keep loosing sessionID in under 4 minutes

Status
Not open for further replies.

DeZiner

Programmer
May 17, 2001
815
US
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:
Code:
<cflock type=&quot;exclusive&quot; name=&quot;searchupdate&quot; timeout=&quot;10&quot;>
<cfapplication name=&quot;searches&quot; clientmanagement=&quot;yes&quot; sessionmanagement=&quot;yes&quot; setclientcookies=&quot;yes&quot; clientstorage=&quot;cookie&quot; SESSIONTIMEOUT=#CreateTimeSpan(0,0,30,0)#>
<cfparam name=&quot;Session.product&quot; default=&quot;0&quot;>
<cfparam name=&quot;Session.user&quot; default=&quot;&quot;>
<cfif not isdefined(&quot;session.trackuser&quot;)>
<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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top