Paul, Like Howard mentioned, I think this is a problem with how you are maintaining state rather than cvars themselves. Here's a cfapplication statement from one of my apps that is running on a single server and maintaining state via cvars:
<cfapplication name="CMPro_201" sessionmanagement="No" clientmanagement="Yes" applicationtimeout="#CreateTimeSpan(0,2,0,0)#"> Later on in application.cfm I do this: <cfif isdefined ("cookie.CFID")> <cfif CompareNoCase(client.CFID,cookie.CFID)> <cfset client.CFID=cookie.CFID> <cfset client.CFTOKEN=cookie.CFTOKEN> </cfif> </cfif> So if it finds a different value in the cookie versus whatever is current it resets the session ID back to the cookie value. Between those two things I never have any problems with losing the key pair, although appending all urls as mentioned and testing all three or something like that would be safest. ------------------------------------------- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ------------------------------------------- ---------- Original Message ---------------------------------- From: "Paul Giesenhagen" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] date: Thu, 30 Jan 2003 16:08:11 -0600 >Well, I am storing them in the DB... I think I am missing something on >Client Variables .. (which I hang my head :) > >Should I be keeping the key CFID associated with the memberID in the db? > >Paul Giesenhagen >QuillDesign > >----- Original Message ----- >From: "Matt Robertson" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Thursday, January 30, 2003 4:03 PM >Subject: Re: Client Variables - Serious Problem > > >> While the symptoms Paul described are indeed similar to a failure to lock >a session variable, listen to Ray and remember his level of >involvement/expertise with CF. Since client vars are stored in a database, >a special mini-db in the registry or cookies, you have no shared memory >issues or race condition issues and no need to lock. None. Zilch. Bupkus. >> >> Now, with that said, Paul how are you storing those self-same cvars, and >how are you keeping track of your key pair? This problem is unusual indeed. >> >> ------------------------------------------- >> Matt Robertson, [EMAIL PROTECTED] >> MSB Designs, Inc. http://mysecretbase.com >> ------------------------------------------- >> >> >> ---------- Original Message ---------------------------------- >> From: "Paul Giesenhagen" <[EMAIL PROTECTED]> >> Reply-To: [EMAIL PROTECTED] >> date: Thu, 30 Jan 2003 15:51:55 -0600 >> >> >Gel, >> > >> >Sorry, I know you don't lock'm ... but also keep in mind, Raymond was >part >> >of the development of CF ..:) >> > >> >Paul Giesenhagen >> >QuillDesign >> > >> >----- Original Message ----- >> >From: "Angel Stewart" <[EMAIL PROTECTED]> >> >To: "CF-Talk" <[EMAIL PROTECTED]> >> >Sent: Thursday, January 30, 2003 3:45 PM >> >Subject: RE: Client Variables - Serious Problem >> > >> > >> >> *folds arms* >> >> Oh yes you do! >> >> >> >> When you set them and read them! >> >> >> >> -Gel >> >> >> >> >> >> -----Original Message----- >> >> From: Raymond Camden [mailto:[EMAIL PROTECTED]] >> >> >> >> Um, no, you don't. >> >> >> >> >> > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4