Quantcast
Channel: Session Object and Class for Storing Session Data
Viewing all articles
Browse latest Browse all 11

Re: Session Object and Class for Storing Session Data

$
0
0

Hi,

If you use basic types it shouldn't be a problem.  See http://msdn.microsoft.com/en-us/library/ms973893.aspx What happens if you just try ?

You still may want to give some details about this class. For example if this is just to store some simple properties my personal preference would be likely to create a class that just stores each of its properties in a separate session variable under the hood rather than to store the object itself in a single session variable. For example see http://www.codeproject.com/Articles/2404/Create-Typed-Session-State-in-ASP-NET


Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>