Re: Session Variables How Many?



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

.



Relevant Pages

  • Re: Please! Doesnt anyone know a better way to do this?
    ... account, they need to automatically be directed to the page to enter data ... session variable on the Account page. ... I assume here that you're checking a database when the user attempts to ... When a new user attempts to login or clicks to register, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Retrieving state information from a middle tier
    ... Now this very first call can make session root entry into an xml file like ... We have a middle tier which is made up ... > The current implementation only allows for one database to be served up. ... > longer use the middle tier as the source of the connection properties. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Horizontal scaling - advice needed
    ... the session can be unambiguously proxied to the right backend server, ... To start with have a single database machine. ... Full database clustering is challenging, but if your site is making you lots ... For transient session state, ...
    (comp.lang.ruby)
  • Re: VirtualPathProvider and Application Restart
    ... the session state to the Database Server and move a lot of lightweight ... to unload it from the AppDomain. ... When you update an ASPX file, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: form to email document
    ... >> append the Session ID for that user Session to the file name. ... >> name uploaded.This can come from a simple text file or a database. ... >>> I was hoping for something like the procedure used to upload a form, ...
    (microsoft.public.frontpage.programming)