Поделиться через


SPS 2003 : How to persist an object state in to a session variable from custom web part?

Problem:

How to persist an object state in to a session variable from custom web part?

When you use the System.Web.HttpContext.Current.Session property you will get the error message "object reference not to set an instance of the object".

Work Around:

Use the Page.Session property to store the object in session

Comments