T
Tim F
I can not persist a Session across page changes. I have it configured
as follows:
* VS .NET 2002
* [machine.config]
<pages buffer="true" enableSessionState="true" enableViewState="true"
enableViewStateMac="true" autoEventWireup="true"/>
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20"/>
* [web.config]
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;user id=sa;password=" cookieless="false"
timeout="20"/>
* enableSessionState is True for all pages.
* All pages use ADO.NET.
I observe that Global.Session_Start is called with every page switch,
so I assume a new Session object is being created; however, each new
Session object is created with the same SessionID. This happens
whether cookieless is true or false.
Is there anything else I should look for? Could ADO.NET be conflicting
somehow? Is this a known VS.NET 2002 issue?
Thanks,
Tim
as follows:
* VS .NET 2002
* [machine.config]
<pages buffer="true" enableSessionState="true" enableViewState="true"
enableViewStateMac="true" autoEventWireup="true"/>
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20"/>
* [web.config]
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;user id=sa;password=" cookieless="false"
timeout="20"/>
* enableSessionState is True for all pages.
* All pages use ADO.NET.
I observe that Global.Session_Start is called with every page switch,
so I assume a new Session object is being created; however, each new
Session object is created with the same SessionID. This happens
whether cookieless is true or false.
Is there anything else I should look for? Could ADO.NET be conflicting
somehow? Is this a known VS.NET 2002 issue?
Thanks,
Tim