True, but that's effectively storing them as a string, and serializing /
de-serializing it isn't exactly fast.

-----Original Message-----
From: Marc Funaro [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2001 13:43
To: CF-Community
Subject: RE: Client versus Session...


You actually *can* store complex variables in Client scope using WDDX.

Just my little pipe-in for the day!

Marc  (WITH A "c"!)

-----Original Message-----
From: George Kaytor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 8:29 AM
To: CF-Community
Subject: RE: Client versus Session...


Couple of negatives with session variables : they barf in a clustered
environment, hence your application is not scalable. They eat up memory, so
an application with many users eats up all your ram impeding performance.

Couple of negatives with client variables : They don't hold complex
variables, (you can't store a query set in them ). By default they depend on
cookies or you must pass the cfid and cftoken from page to page.

I wouldn't say one is better then the other, I would say they serve
different purposes....

-george

>From: "Kola Oyedeji" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Community <[EMAIL PROTECTED]>
>Subject: RE: Client versus Session...
>Date: Wed, 02 May 2001 09:41:21 +0100
>
>I've often wondered about this, if you dont mind could you summarise why
>clients vars are
>better than session vars despite session vars bieng held in ram?
>
>Thanks
>
>KOla
>
>-----Original Message-----
>From: Erika L Walker [mailto:[EMAIL PROTECTED]]
>Sent: 02 May 2001 06:07
>To: CF-Community
>Subject: Client versus Session...
>
>
>Since there seems to be a few people still up and about, could you put your
>thinking cap on for a sec.......
>
>Session versus Client. I've read through just about every post I could find
>on the subject throughout CF-Talk. And the consensus is that client is the
>way to go.
>
>So....
>
>I am about to convert a site that I have been having long-standing issues
>with timing out, etc. Is it really as simple as turning all the
>session.whatevers into client.whatevers and making sure clientmanagement is
>turned on? (this is a hosted app and by default, they store client vars in
>a
>SQL database).
>
>Thanks for thinking so late....I'm going to bed soon I promise.....
>
>Erika
>(with a *K*)
>
>"Whatever you can do, or dream you can, begin it. Boldness has genius,
>power, and magic in it." - Goethe
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to