Client variables are identified by the users browser. Open a web site in IE
and it will give you a different CFID and CFTOKEN than the same site opened
in Navigator. It is important that you track the "client" throughout your
site when using client variables - usually by appending #URLToken# on the
end of all URL's. eg:

<a
href="http://www.mysite.com/edit.cfm?<cfoutput>#URLToken#</cfoutput>">Edit
Record</a>

Just an idea anyway. Anyone else have a solution?

-----Original Message-----
From: Brook Davies [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 5 May 2001 04:50
To: CF-Talk
Subject: client variables


I have a really strange report from a client about some irregularities in
an app we built for them. Essentially, there is a long client variable that
contains a delimited string of items. This long delimited list is used
throughout the app. This string is later stored in the DB.

Each record in the DB has its own identifiably string of delimited items.
When a user accesses a particular item, the DB record is read and that
delimited list is set as the client Var. The previous client vars are all
deleted.

Now, when my user views the entire string it looks normal. But if she
attempts to edit an item in the list, all of its properties change to an
item in another list from a separate record in the DB. Its seems as through
the previous client Var is still hanging around and sometimes being
selected from the clientVar repository instead of what should be the
currently active client Var.

Has any one seen anything like this happen before? Am I crazy?

Brook Davies
MaracasMedia.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to