You are here: Re: Session Variables How Many? « PHP Programming Language « IT news, forums, messages
Re: Session Variables How Many?

Posted by Andy Jeffries on 03/30/06 19:03

On Thu, 30 Mar 2006 07:49:46 -0800, Barkster wrote:
> I'm wanting to store about 6 fields one of which could have about 1600
> characters in a session variables for submitting data to the database. I'm
> trying to elimate partial records being inserted into the database when a
> user quits in the middle of an entry. Is there a limit to the size of
> what you can put in sessions and number of session you want to limit on a
> server. Didn't know if you had a high volume site that if you stored new
> records in sessions, how that would affect performance. I thought about
> using cookies but not everyone has them enabled, I guess I could check
> first. Any suggestions on this? Thanks

AFAIK there's no limit to either (by default) size of session or number of
sessions. They're stored in files, so I guess it could be limited by a
number of files in a folder or disk space, but that's it.

If you wanted you could register your own session handler that worked any
way you want.

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация