Re: serialization and Session Object

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Bilbo (Bilbo_at_cox.net)
Date: 07/16/04


Date: Fri, 16 Jul 2004 09:16:38 -0700

BTW, using C#. Thanks

"Bilbo" <Bilbo@cox.net> wrote in message
news:eZDMiA1aEHA.2516@TK2MSFTNGP10.phx.gbl...
> Hello,
>
> I recently read that a class must support serialization in order for it to
> be stored in the Session State. Before reading this I had been storing a
> class to the Session State no problem (without serialization). The class
is
> simply a storage class and contains only primitive types....is it
necessary
> to serialize this object? If so, how do you go about serializing an entire
> class?
>
> Thanks much.
>
>



Relevant Pages

  • Re: Page_Load serialized?
    ... sleep only pauses the current request. ... but concurrent requests to a specific ... instance of Session state are serialized - if those requests intend to ... avoid the serialization. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: System.OutofMemoryException - Session
    ... i'm puzzled that an outofmemoryexception would contain a serialization ... OutOfMemoryException with the following message: ... > "Unable to serialize the session state. ... session state mode is set to 'StateServer' and the only ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: serialization and Session Object
    ... It only needs to be serializable if you using session state other then ... If you are using InProc, you can place anything you want into ... > class to the Session State no problem (without serialization). ... > simply a storage class and contains only primitive types....is it ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: serialization and Session Object
    ... Thanks for your response. ... How can I tell if I am using InProc? ... > It only needs to be serializable if you using session state other then ... >> I recently read that a class must support serialization in order for it ...
    (microsoft.public.dotnet.framework.aspnet)
  • serialization and Session Object
    ... I recently read that a class must support serialization in order for it to ... Before reading this I had been storing a ... class to the Session State no problem. ...
    (microsoft.public.dotnet.framework.aspnet)