Just for information purposes we use session variables exclusively to manage our 
personalization sessions and have not
yet gone up over 15% of memory usage. There are a minimum of actual variables used in 
a session (an array of link
values, name, breed and breed image, plus a few flag fields). We are on a sun es 5500 
quad with 3 gigs of memory so it
is a pretty hefty box but it is our only webserver.

We recieve anywhere from 300,000 to 500,000 page views and 2-3,000,000 "hits" a day  
and 30,000 to 40,000 "sessions.

This form of  personalization  is also scalable over a cluster as all the infomation 
that is stored in session variables
is extracted from the database on any hit to the website if there is not already a 
session created for the user.

If I were using many variables or variables that hold alot of data I would not 
recommend using this method. To tell the
truth I wanted to use client vars but the dba's did not want to allow that many hits 
to the database and also did not
want to create a table to hold them.

I do have to say this method works great as it is now.

Thanks,
 Frederic

Fuon See Tu wrote:

> hey guys, a friend of mine who is a pretty advanced CF programmer says that
> I should stay away from using sessions when developing sites that have a
> pretty good load of users, because sessions take up wayyyyyyyy too much
> memory, and that I should resort to cookies or client cookies instead.  This
> makes me very sad, cuz i really like sessions a lot, and am about to develop
> a complex and lots-of-users site.  Sessions are really easy to work with for
> me!  Maybe he is wrong or is missing something?  Can one of yall make me
> happy again?  or gimme some suggestions?
>
> thanx
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to