Wednesday, February 13, 2008

How to enable session state in SharePoint WSS 3.0?

Before you can use sessions you first have to enable the session state module in the web.config file in a WSS 3.0 sharepoint site. Just uncomment the following line:

<add name="Session" type="System.Web.SessionState.SessionStateModule"/>

After that you can use the session object like you'll normally do with any ASP.NET web applications.

No comments:

Post a Comment