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

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04

Download sources GNUstep (stable or unstable) to compile; Dependencies First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command; almost every package ends with *-dev in ubuntu repositories this command will install all dependencies for compile: ~$ sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev GNUstep Make compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications. get the package, untar and change into the folder and compile: ~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz ~$tar xzvf gnustep-make-2.4.0.tar.gz ~$cd gnustep-make-2.4.0/ ~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions ~$make ~$sudo make -E install *NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable th