but this variables are created without any warning or error throw by
coldfusion Compiler.
<cfset client.contract.id = "foo"> is a valid client variable
This behavior create this kind of variables and then you cannot delete is
not useful.
:-S
I have a lot variables like that. :-S any other suggestions?
_____
De: Dave Watts [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 08 de Octubre de 2004 14:18
Para: CF-Talk
Asunto: RE: Urgent : problem with Client Variables.
> I have clients variables that i want to delete but usign the
> deleteclientvariable or using a query to delete direct from
> the database ( where my clients vars are stored ) but the
> f... variable is still there..
>
> variables like client.foo are deleted , but variables like
> client.contract.id can't
In CFMX, when you create a variable like "contract.id", CF creates a
structure called "contract", and then a key called "id". This is new
behavior in CFMX, I think. You can't store structures in the Client scope,
so I would strongly recommend that you restrict the names of your Client
variables to letters, numbers and underscores.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

