InProc Session Status Not Working

Anyone have any ideas why the server state of the InProc session will not work? Is there a reset manual or check method for this?

thanks

Session mode - InProc, standby time - 25 minutes.

At this time, I'm not sure if the Session object is null, or if the session object is empty and cannot be accessed.

I think this may be a cookie problem, or it may be that Application_Start is not working properly. What else could it be? IIS settings?

+3
source share
2 answers

, , , -. , , httpModules web.config.

Web.config:

<sessionState mode="InProc" cookieless="false" timeout="20"
 sqlConnectionString="YourConnectionString">
</sessionState>

<httpModules>
   <add name="Session" type="System.Web.SessionState.SessionStateModule"/>
</httpModules>   
+1

, Application_Start. Session_Start.

, ? KB, .

Reset :

0

Source: https://habr.com/ru/post/1718850/


All Articles