SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs



Add to Technorati Favorites

Jun 222008

Enabling sessionState

The sessionState allow you to store information not in the ViewState, but in the HttpSession object. See MSDN.

To enable the sessionState, you will have to modify your web.config. All lines which need to be modified, are within the <system.web> tag:

In the default settings, the httpModule for the session state is commented out. We will simply remove the "<!--" and "-->" around the line.

   1: <httpModules>
   2:   <clear />
   3:     ...
   4:   <add name="Session" type="System.Web.SessionState.SessionStateModule"/>
   5:     ...
   6: </httpModules>

 

Change the value for enableSessionState from "false" to "true":

   1: <pages enableSessionState="true" enableViewState="true" ...>

That's it. Now you can use the session state.

Tags:


Published: 6/22/2008  12:45 PM | 3  Comments | 0  Links to this post
Tagged as: SharePoint

Jun 152008

Development Overview

Sometimes even I forget what I have developed and blogged on my page. To give an overview I have created a page which lists all of them and helps you find what you want.
You can find the overview of my developments here.

Published: 6/15/2008  11:00 AM | 0  Comments | 0  Links to this post
Tagged as: Development

Jun 112008

Display all my alerts update

With this update the problem that SPContext.Current.Web.CurrentUser is sometimes null is solved. Additionally there are lots of information written to the ULS logs, if you have configured your farm to log information with the level "Monitorable"

More and download...


Published: 6/11/2008  8:01 PM | 0  Comments | 0  Links to this post
Tagged as: Webparts, Development, MyAlerts, SharePoint

Jun 052008

Updated FileserverAccess Webpart

I have updated my FileserverAccess Webpart.

  • added danish language support (thx to Anja)
  • performance tuning

Original post