Could it have anything to do with CFID, CFTOKEN? Are you supposed to track that with the cookies ...?!
Paul Giesenhagen QuillDesign ----- Original Message ----- From: "Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 3:18 PM Subject: RE: Client Variables - Serious Problem > Woah - you do not need to lock client variable access - and even if you > were to use a lock, the Server scope lock is defintely not the right one > to use. > > ======================================================================= > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > > Email : [EMAIL PROTECTED] > WWW : www.camdenfamily.com/morpheus > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Tony Weeg [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 30, 2003 3:15 PM > > To: CF-Talk > > Subject: RE: Client Variables - Serious Problem > > > > > > paul, paul, paul....its a locking issue my friend. > > > > client scope is something that should be locked (from what I > > remember.) > > > > do this... > > > > <cflock scope="Server" name="LoginUser" type="exclusive" timeout="3"> > > > > <cfwddx action="cfml2wddx" input="#member#" > > output="client.member"> > > > > </cflock> > > > > and then this... > > > > <cflock scope="Server" name="LoginUser" type="readonly" timeout="3"> > > > > <cfif IsDefined("client.member")> > > <cfwddx action="wddx2cfml" input="#client.member#" output="member"> > > <CFSET IsDeleteSuccessful = > > DeleteClientVariable("location")> <cfelse> > > <cflocation url="member.cfm?mode=login" addtoken="Yes"> </cfif> > > > > </cflock> > > > > I think this may help you ;) > > > > ...tony > > > > Tony Weeg > > Senior Web Developer > > UnCertified Advanced ColdFusion Developer > > Information System Design > > Navtrak, Inc. > > Mobile workforce monitoring, mapping & reporting > > www.navtrak.net 410.548.2337 > > > > -----Original Message----- > > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 30, 2003 4:08 PM > > To: CF-Talk > > Subject: Client Variables - Serious Problem > > > > > > Question: > > > > I am using client variables to login users and keep their > > information while roaming the site. The problem is I just > > went into the site and it had me logged as another user of > > the site... Below is the code I am using to login in a > > user.... I haven't used the client variables alot so if you > > see something I am doing wrong, please enlighten. > > > > <!--- Login the user ---> > > <cfset member = StructNew()> > > <cfset member.firstName = memberCheck.firstName> > > <cfset member.lastName = memberCheck.lastName> > > <cfset member.memberID = memberCheck.memberID> > > <cfset member.userName = memberCheck.userName> > > <cfwddx action="cfml2wddx" input="#member#" output="client.member"> > > > > > > > > <!--- Top of email MEMBER page to see if they are member or not ---> > > > > <cfif IsDefined("client.member")> > > <cfwddx action="wddx2cfml" input="#client.member#" output="member"> > > <CFSET IsDeleteSuccessful = > > DeleteClientVariable("location")> <cfelse> > > <cflocation url="member.cfm?mode=login" addtoken="Yes"> </cfif> > > > > When I opened my browser and went to the site, It thought i > > was a different user ... how could something like this have happened?? > > > > Any help or if you all need more information, please let me konw. > > > > (Win2K, CF5 - Single Machine) > > > > Thank you > > Paul Giesenhagen > > QuillDesign > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

