Storing and Retrieving Objects in Sessions in ASP.Net C#

I had the need to store user form data in a array and then put the array into and arraylist . Now I put the array list into the session and accessed the session object in another page to display the entire contents of the array list.

I had to typecast the session data and get them into an array list.
Now I had code file, filename.aspx.cs which had the class definition, methods ,constructors and the getters,setters.

Will post the code soon.

Published by

Varun Krish

Varun Krish has been dabbling with computers and websites for almost 2 decades. He has traveled to over 30 countries and hopes to visit every country on earth one day. He is currently the Editor-in-Chief of FoneArena.com and also advises startups and product companies on how to build better products. You can follow him on @varunkrish

Leave a Reply

Your email address will not be published.