M
mg
I'm trying to store session state in a Windows Service.
I start the ASP.NET State Service and modify the
Web.Config file to include
<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
timeout="20"
/>
But I get the following error message: Unable to make the
session state request to the session state server. Please
ensure that the ASP.NET State service is started and that
the client and server ports are the same.
My server port is 42424. But, how do I set the client port?
My app consists of the following two lines in Page_Load
string arg = "http://unixbox:8888/user.jsp?ID=" +
Session.SessionID.ToString();
Response.Redirect(arg);
I start the ASP.NET State Service and modify the
Web.Config file to include
<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
timeout="20"
/>
But I get the following error message: Unable to make the
session state request to the session state server. Please
ensure that the ASP.NET State service is started and that
the client and server ports are the same.
My server port is 42424. But, how do I set the client port?
My app consists of the following two lines in Page_Load
string arg = "http://unixbox:8888/user.jsp?ID=" +
Session.SessionID.ToString();
Response.Redirect(arg);