Ir al contenido principal

Dealing with MOSS Session State

In the code for an SharePoint application page i'm getting NULL for HttpContext.Current.Session;
so I'm looking for information related to why this is happening.
Until now only found these blogs with information related to state and SharePoint:

Enabling Session State in SharePoint 2007 I first thought this was my problem but from this book (chapter 7: Database Security for SQL Session State), found that the session state tables live in my SharePoint services provider database (default created: SharedServices1_DB) and also found this blog(it fixes other issue with session state) about how to extract the sql script from command aspnet_regsql.exe

aspnet_regsql -sstype c –d [YOUR SSP DB NAME] -sqlexportonly fix.sql –ssadd

in my case

aspnet_regsql -S vpc03 -sstype c –d SharedServices1_DB -sqlexportonly fix.sql –ssadd

Note: i added the -S paramenter to specify my server name "vpc03".

Unfortunately I'm still stuck with Session NULL :(

Here was posted how to enable the session state in web.config of SharePoint application; only need to review this tag:

page enableSessionState="true"

Comentarios

Entradas populares de este blog

Amazon EC2 - SharePoint 2010 Desarrollo

Estoy analizando si puedo montar mi propio SharePoint 2010 en Amazon EC2 aquí dos referencias valiosas para empezar: SharePoint 2010 Loggin Out of Control Para saber que opciones no habilitar y no generar mucho almacenamiento que mientras mayor mas te cobre AEC2. How to install SharePoint 2010 on ACE2 este link inclusive muestra los costos. Para tomar un curso en línea sería ideal, ya que contar con una computadora por ahora con esas características esta fuera de mi alcance por el momento. Aunque ya he visto varios blogs de gente que a montado sus ambientes de desarrollo en Windows 7 laptops con CoreDuo y 4 GB de memoria y esas configuraciones ya las puedes encontrar en las tiendas departamentales acá en Monterrey, N.L. Amazon EC2 Articles and Tutorials: Running SharePoint Services on AEC2 Amazon CE2 Pricing generalidades de sharepoint services en EC2. Doug Ware from Atlanta .NET User Group: Windows SharePoint Services on AEC2 Alternativas: The Rackspace Cloud : Windows Servers GoGrid

Changing Background GWorkspace

GWorkspace application in GNUstep, is like the equivalent to Nautilus under GNOME. It has interesting features that I'm beginning to love, right now I believe GNUstep is for UNIX-geek-old-fashioned. Here is the screenshot for changing the background image, you need to go to Info->Preferences->Desktop (drop down) then click Choose button for search the image. I'm running GNUstep compiled in Ubuntu 10.04 and the image comes from the folder / usr/share/backgrounds/ Another really cute functionality of GWorkspace is start applications from their installation folder, you need to open the viewer from menu View->Viewer and go to the installation application folder (in my case compiled from sources: /usr/local/lib/GNUstep/Applications ) then a double-click starts the application (*.app)