sorry i meant i see no other advantages of using them (apart from persistent
sessions as well)

Kola
-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2001 17:07
To: CF-Server
Subject: RE: naything wrong with heavy use of session vars?


Thats what i thought. Does any one have an estimate of how much faster
session variables are than client variables? Apart from bieng able to use
them in a clustered environment and not having to lock them i still see no
other disadvantage to using them. If i have plenty of ram then using lots of
session vars shouldnt make my system unstable right?

kola

-----Original Message-----
From: Vinod Nair [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2001 16:28
To: CF-Server
Subject: RE: naything wrong with heavy use of session vars?


"Under cold fusion administrator you can specify/choose whether
to choose your session variable in the "Registry" or in a "Data Base"...."
I believe that was a typo. Only CLient variables can be chosen to be stored
in registry/databse/cookie.
Sesssion variables are stored in the server memory at all times.

-----Original Message-----
From: Saul G. Perez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 11:04 AM
To: CF-Server
Subject: RE: naything wrong with heavy use of session vars?


Client variables are ideal for clustered environments, however there is
no doubt that Session Variables are much quicker than client variables.
Session variables use memory on the machine and depending on the RAM on
that physical machine and the use they can be detrimental to that
server.  Under cold fusion administrator you can specify/choose whether
to choose your session variable in the "Registry" or in a "Data Base".
Indicating a Data Base Cold Fusion will create the neccessary tables to
store the variable.  I have a few documented ways of transitioning from
session variable to client based variables. (I will forward these once I
find the links)



-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 1:45 AM
To: CF-Server
Subject: naything wrong with heavy use of session vars?


Hi all, this may already been covered, but recently i have been reading
a
lot of posts on
strongly discouraging session vars and using client vars instead.
Becuase
session variables are held in memory can too many of them cause the
system
to become unstable?

I was contemplating
changing all my session vars to client vars when i read a post on the
Allaire forums from a
member of allaire:

"client variables should be used lightly, anyway- they are not the most
efficient thing we have. Always encourage the use of them to be
minimal."

so basically how less efficient can client vars be over session
variables? I
know client variables do not need locking and can be clustered but are
these
the only 2 advantages?

Any comments? Thanks

Kola
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to