Re: serialization and Session Object

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Lucas Tam (REMOVEnntp_at_rogers.com)
Date: 07/16/04


Date: Fri, 16 Jul 2004 16:24:46 GMT


"Bilbo" <Bilbo@cox.net> wrote in news:eZDMiA1aEHA.2516
@TK2MSFTNGP10.phx.gbl:

> is it necessary
> to serialize this object?

I think only if you're using session variables in a webfarm:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q312112

I never had problems storing complex objects in a sesion variable on a
single web server environment.

-- 
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


Relevant Pages

  • Serializing Session variables. Cuts off after a given length????
    ... I've have been trying to serialize an array of objects. ... serialize and set a session variable and retrieve it successfully for ... a serialize string of any length within the contents of a single ... are my serialized session variables truncated at 67,789??? ...
    (comp.lang.php)
  • Re: userialize bug?
    ... I use php4.4.1 and when a user log in I use a class which stores ... I serialize the class in a session variable. ... > I later on read the session var and unserializd to check for certain ... Since all information that is stored in session variables is ...
    (comp.lang.php)
  • Re: userialize bug?
    ... I serialize the class in a session variable. ... I later on read the session var and unserializd to check for certain user info. ... Since all information that is stored in session variables is ...
    (comp.lang.php)