Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 11:39:57 AM

Pages: [1]   Go Down
  Print  
Author Topic: $_SESSION variables  (Read 1516 times)
hairboy
Intergalactic Cowboy
*****
Offline Offline

Posts: 56


If all else fails, become a dolphin


WWW
« on: November 07, 2007, 03:05:50 PM »

So....how many is too many??

If I'm running a site where I can expect 1000 people online at a time, and they all had 10-20 various session variables each storing 10-15 bytes of info.....is that too much??

That should be a drop in the ocean with regards to the server, yeh??
Logged

ttremain
Internet Consultant
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


WWW
« Reply #1 on: January 06, 2008, 02:11:17 AM »


No, that shouldn't be too much...

However, I would suggest using your own tmp folder (like /home/username/tmp ) instead of
the common /tmp folder to save these in, it may save you some trouble in the long run.

In PHP, you would use the session_save_path() command to set this.

Logged

Thomas Tremain
Internet Consultant
-------------------
Offline cPanel Backups
Domain Name Registrations
Webhosting Reviews
Pages: [1]   Go Up
  Print  
 
Jump to: