Questions tagged [stateserver]

StateServer is a session-state mode in ASP.NET, which indicates to store session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

What questions should have this tag?

All questions that relate to the use of stateserver mode for session state management in ASP.NET web applications.

Basic definition

StateServer is a session-state mode in ASP.NET, which indicates to store session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

Important links

MSDN Article on Session-state

66 questions
0
votes
2 answers

Using Stateserver Session in ASP.NET web farm

I have created an online shopping website which will be deployed on a web farm. As a result of this, I've decided to use the Stateserver Session Management provided by ASP.NET. Now, I have a login page. After the user logs in successfully I redirect…
0
votes
1 answer

Querying session data when using StateServer service

Does anybody know of a way to query across all active sessions when using StateServer service in a .NET 4.0 web app? In my scenario, I am setting a piece of session data when the user navigates to one of our partner sites. The partner site then…
Mel Lota
  • 75
  • 7
0
votes
1 answer

Session Expired after closing browser when using State Server

i have a very simple question I m using State Server for storing Session in my application. The problem is that, when i hit my site and login in my site and after i login if i close my browser and reopen again thne my session is lost. I have to…
user788592
  • 477
  • 1
  • 5
  • 12
0
votes
3 answers

StateServer to save session

We are going to update our asp.net application to save session in state server. Any attention required to avoid problems after the update? It is going to run in IIS 6 and IIS 7. Thanks, P.Gopalakrishnan
gopal
  • 3,681
  • 5
  • 24
  • 25
-1
votes
1 answer

DIV InnerHTML not getting written to HTMLTextWriter if there exists any TextBox control

I'm writing the below code to get the html of a div element: var sb = new StringBuilder(); MyDiv.RenderControl(new HtmlTextWriter(new StringWriter(sb))); string s = sb.ToString(); Session["RecoveryItems"] = s; But it throws the error: Textbox…
-1
votes
1 answer

Asp.net State Server Unable to Serialize Session State

I am using StateServer session,made all object [Serializable] ,still getting error.What was the problem? Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result…
1 2 3 4
5