Can I Assign class object to session variable? RRS feed

  • Question

  • Hi all, i have a class Emp and whether it is possible to save the object of this class in a session?

    And after creating the session with object how can i store it in state service and how can i use the object from session??

    thanks in advance...

    Tuesday, November 9, 2010 2:21 PM


  • Hi Vasu,


    Thank you for posting.


    At first, you could store a class, structure etc. as Variable into Session.

    Secondly, your concern is more like ASP.NET. I would encourage that you can consult your concern in ASP.NET forum.

    Please check:




    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by Larcolais Gong Monday, November 15, 2010 5:53 AM
    Thursday, November 11, 2010 3:43 AM