Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 25, 2008, 02:12:42 PM


Login with username, password and session length


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

Posts: 39


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.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


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