Interesting.  Though, it may display that way, but that still doesn't mean that the underlying structure is storing it as a client.  I'm no expert on this, but Dave Watts is usually right on the in-depth workings of CF.  It could just be the way that the debugging tag is written.  Anyway, I'd go with the suggestions made and not use the "." notation in your variable names.

John

-----Original Message-----
From: David Manriquez [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 3:18 PM
To: CF-Talk
Subject: RE: Urgent : problem with Client Variables.

yeah could be , but i have enabled the Debugging  in the Coldfusion Administrator and see in the client variables sections my vars..
and i use it like any other clients vars...

pasting from a page in my site.. ( this is a part of debugging information ).
Client Variables:
apellido_cliente=SARANITI
apellidom=
apellidop= Sebastián
autos=true
categoria_cliente=
cfid=8875
cftoken=19414444
codigo_cliente=
codpuntoventa=BMWBB
cotizacion.apellido=SARANITI
cotizacion.calle=Patricios
cotizacion.codigo_postal=1638
cotizacion.departamento=
cotizacion.idente=639
cotizacion.localidad=1638



  _____  

De: Burns, John D [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 08 de Octubre de 2004 14:51
Para: CF-Talk
Asunto: RE: Urgent : problem with Client Variables.

I think what Dave Watts was saying was that when you do
client.contract.id, CF actually creates a structure named client.  Thus,
that variable is not really a client variable, just a variable within a
structure called client.  Maybe you can use structDelete() to get rid of
it.

John

-----Original Message-----
From: David Manriquez [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 2:19 PM
To: CF-Talk
Subject: RE: Urgent : problem with Client Variables.

Yeah i know CFMX cant create complex variables in client Scope.

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]

Reply via email to