FWIW, my testing on CF5 using GetTickCount() has indicated about a 15ms difference between using session versus db-stored client variables. Obviously, that's specific to my setup and app and assumes GetTickCount() provides a reasonably accurate way of measuring it.


What is considered the best method if you need to support a cluster, don't want to rely on sticky sessions and aren't using the J2EE install of CFMX?


Ken

________________________________

From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Sat 6/5/2004 10:58 AM
To: CF-Talk
Subject: RE: User Authentication

> Maybe I am off-base, but I only use session variables for
> login management purposes -- instead I mostly use client
> variables to gain inter-template communication -- the
> advantage of this is that no locking is required.
>
> Guess there are some disadvantages, but I haven't found them
> yet and would like to be enlightened, etc.

The obvious disadvantage is that client variables are significantly slower
to access if they're stored in a database, which is the only decent place to
store them.

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]

Reply via email to