none
Adding serializable attribute to a class so its object can be stored as an HttpSessionState attribute RRS feed

  • Question

  • Is there any issue adding [Serializable] attribute to a class so its object can be stored as a HttpSessionState object?  Do you have to implement any extra code for deserialization?
    • Moved by CoolDadTx Friday, July 12, 2019 6:41 PM ASP.NET related
    Friday, July 12, 2019 5:04 PM

All replies

  • Is there any issue adding [Serializable] attribute to a class so its object can be stored as a HttpSessionState object?  Do you have to implement any extra code for deserialization?
    Where did you read this? The only tie I have placed serializable on class is session was for a class that is being used when MS SQL Server is the session stae serve.
    Friday, July 12, 2019 5:29 PM
  • Please post questions related to ASP.NET in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Friday, July 12, 2019 6:41 PM