Web Hosting Forum | Lunarpages
News: November 3, 2008 - Enter Your URL in to WIN the November Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 18, 2008, 07:57:01 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: $_SESSION variables  (Read 924 times)
hairboy
Spacescooter Operator
*****
Offline Offline

Posts: 46


If I were a jockey..??


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM