Session State in _layouts; how?

From: Jason Dunbar (jasondunbar_at_gmail.com)
Date: 12/16/04


Date: Thu, 16 Dec 2004 10:49:01 +0000

Hi folks,

I have followed advice in a previous post on how to create a custom
ASP .NET application in the _layouts folder of a Sharepoint Portal
Server installation.

I have created the ASP .NET application as a standalone and this works
absolutely fine. However, when I move the application over to the
_layouts folder I receive errors about the SessionState not being
active. The session state is an integral part of the ASP .NET
application and is required for it's smooth and successful running.

My question is: Is there any way that I can enable the Session State
at this level? I have tried a stripped down web.config file with only
SessionState information, I have also tried using the Page directive
within the .aspx file itself. No joy.

Any help would be greatly appreciated, thank you.

Jason Dunbar



Relevant Pages

  • Re: MS Software Update Service and Citrix Metaframe XP
    ... SUS will disable parent paths and ASP sessions state. ... Microsoft recommends that the IIS server host only SUS. ... Also, the session state is ...
    (microsoft.public.inetserver.iis.security)
  • frameset and loss of session
    ... settings to mask a redirect, which essentially makes a frameset and hides ... number of asp forms that permit posting data to an Access database and I ... an onclick, such as onclick = "parent.location='mypage.asp'", but of course ... Is there any way to preserve the session state across asp pages ...
    (microsoft.public.inetserver.asp.general)
  • RE: Reporting - Page cannot be displayed error
    ... Since you are on Windows 2003, check if the ASP ISAPI extension is enabled ... There should be a checkbox to enable Session state. ... following text and save the file as test.asp in your reporting point folder ... > browser pops up to display the page but it says "page cannot be displayed". ...
    (microsoft.public.sms.setup)
  • Re: Session inconsistencies IIS6
    ... "Egbert has one for ASP as well." ... session state gets lost when you move ... Worker process recycling via a variety of triggers. ... > Im trying to find why my hosted server won't maintain session state. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Session inconsistencies IIS6
    ... "Egbert has one for ASP as well." ... session state gets lost when you move ... Worker process recycling via a variety of triggers. ... > Im trying to find why my hosted server won't maintain session state. ...
    (microsoft.public.inetserver.iis)