Questions tagged [session-state-server]
33 questions
1
vote
1 answer
Unable to use session state server because this version of ASP.NET requires session state server version 2.0 or above
I am migrating 2 .NET web sites from one Windows 2003 (IIS6) server to another. One of the sites is .NET 2.0 and the other is .NET 3.5. I am using the StateServer mode of ASP.NET session state with the following settings in the global web.config…

NightOwl888
- 55,572
- 24
- 139
- 212
1
vote
1 answer
Error when configuring session state server
We have 4 machines behind a firewall and hardware load balancer.
We are trying to setup session state server. When we do, we get the following error:
Message: System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the…

Shiraz Bhaiji
- 64,065
- 34
- 143
- 252
1
vote
2 answers
Does Google App Engine Flexible Environment support a session-store out of the box?
Memcache backs the OOTB session store for App Engine Standard Environment, yet App Engine Memcache does not work with Flexible Environment.
Documentation for configuring Flex Env says nothing about sessions.
Of course I could implement this myself,…

Joshua Fox
- 18,704
- 23
- 87
- 147
1
vote
1 answer
How to execute appcmd on Azure Web App box?
I'd like to execute a
appcmd set config /commit:WEBROOT /section:sessionState /mode:StateServer /stateConnectionString: tcpip=loopback:42424 /stateNetworkTimeout: 120 /useHostingIdentity:True
command on the box belonging to an Azure Web App. The…

Csaba Toth
- 10,021
- 5
- 75
- 121
1
vote
1 answer
serialize object with XmlDocument Property
I have to many classes that contains some field and properties of type XmlDocument.
When I put the objects of these classes in session (such as state Server, SQL State Server) it is necessary to serialize them.
But if we have a property of type…

Hadi
- 443
- 3
- 15
1
vote
3 answers
Asp.net 2.0 Button click method works inconsistently in a web garden
We have a asp.net 2.0 web application that is running on IIS7. It is using web gardens and asp.net state server.
On the page, there are many user controls. On one of the user controls, we have added logging on the button_click event that writes a…

meh
- 155
- 3
- 7
1
vote
0 answers
Asp.Net State Server Service should RUN in all production web servers?
Asp.Net 2.0 Session State Mode = State Server and poiniting to the 1st server only in all webservers web.config
My Doubt
We have 6 production servers for our project. Do I need to make sure the Asp.Net State Server Service should RUN in all the 6…

B.N.Prabhu
- 11
- 1
0
votes
1 answer
Enforce serializable session state access for InProc?
I have heard advice in the past to use SqlServer / StateServer early on in a project, so when you scale you don't fall into the trap of a developer using non-serializable objects InProc and it breaking when moving to SqlServer / StateServer…

Alex KeySmith
- 16,657
- 11
- 74
- 152
0
votes
1 answer
ASp.net State server dealing with IRequiresSessionState vs IReadOnlySessionState?
MY friend asked here a question
And the one who answered him - wrote something interesting ! ( without any proof , source).
It makes a bigger difference when you're using out-of-process session
state storage. In that case, without the…

Royi Namir
- 144,742
- 138
- 468
- 792
0
votes
1 answer
Determining which control is getting serialized
Similar to This Question, I have an application that relies heavily on in-process session. I'm now trying to move the session store to a local State Server.
I'm getting the error:
Type 'System.Web.UI.Control' in Assembly 'System.Web,…

AaronS
- 7,649
- 5
- 30
- 56
0
votes
0 answers
ASP.net session state service not listening
On our Windows Server 2016 machine, when I turn on the ASP.NET State Service and run "netstat -ab", aspnet_state.exe does not show up on the list of listening ports. However, on my development machine (Windows 10 Pro), aspnet_state.exe does show…

Bob Bowles
- 113
- 1
- 11
0
votes
1 answer
Changing ASP.NET InProc session state mode into State Server or SQL Server State
First, I am new to Web app programming. I come from Desktop apps (WinForms & WPF).
Recently I have been assigned a project that was made in the past by ohter people. This project is done in ASP.NET MVC and it uses an InProc session state mode.
Now,…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
ASP.NET MVC 2.0 Session State Connection Error Handling
I have a MVC 2.0 site that uses SQL Server as it's session state manager. I am trying to account for a network error in which my site loses connectivity to the SQL server itself.
For very basic testing purposes I use Application_Error(object…

Daniel P
- 4,217
- 3
- 21
- 15
0
votes
1 answer
how does server recognize client's session cookie without storing it on server
I am trying to understand, how exactly the session management mechanism in a stateless web application works. Currently I am using Play Framework but I think the mechanism should be the same for all of the stateless web frameworks
this is from the…

behzad
- 965
- 11
- 24
0
votes
1 answer
HttpContext.Session is null behind Application Request Routing (ARR)
I'm struggling with the following issue. The setup:
ASP.NET webforms application on .NET 4.
Session State by State Service.
Three webservers. All three host the webapplication. One is also acting as the ARR Controller.
Webserver 1:
Windows 2012.…

JonHendrix
- 933
- 15
- 28