Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Janusz Stabik 37 posts 59 karma points
    Oct 27, 2010 @ 10:17
    Janusz Stabik
    0

    Session state not available in HTTP module when page has no extension

    In the requestModule, session state is not available when there is no page extension, is this by design - whats happening?

     

    this happens for 

    http://www.mywebsite.com/

    http://www.mywebsite.com/test

     

    etc

     

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Oct 27, 2010 @ 11:34
    Richard Soeteman
    0

    HI Januszm

    Can you give us a little more info about your problem?

    Thanks,

    Richard

  • Jeff Grine 149 posts 189 karma points
    Oct 27, 2010 @ 14:46
    Jeff Grine
    0

    Assuming you're running IIS 7 in integrated mode, try adding this to <system.webServer><modules>

     

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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies