> Client variables are good in supporting Load Balancing, 
> but are there any drawbacks in using Client variables compare 
> to Session?

Sure there are! Otherwise, no one would use Session variables!

With Client variables, the cons are that they are going to "cost more" per
access, if they're stored in a database. For each page which will need to
use those Client variables, CF will need to query the database. Session
variables, on the other hand, are stored in server memory, and it's very
easy to retrieve and change them as needed.

If Client variables are stored in the system Registry, then you've got even
bigger problems. There's very little cost to storing Client variables as a
big cookie, but this assumes that your users won't have any problems with
cookies, that you don't have very much data to store, and that if the user
loses the cookie value it won't be a serious loss of information.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to