stateserver

Switching state server to another machine in cluster

We have a number of web-apps running on IIS 6 in a cluster of machines. One of those machines is also a state server for the cluster. We do not use sticky IP's. When we need to take down the state server machine this requires the entire cluster to be offline for a few minutes while it's switched from one machine to another. Is there a ...

Can you have more than one ASP.NET State Server Service in a cluster?

We have a 4 server cluster running ASP.NET web application using ASP.NET State Server Service for session. On one of the 4 servers ASP.NET State Server Service is running and other servers are configured to look at this. Very often we have to patch the servers, and applying patch on the State Server requires few minutes of downtime. Is...

How to find the Number of Active Users when using a StateServer

How can you find out the number of active users when you're using a StateServer? Also is it possible to query the StateServer and retrieve the contents in the Session State? I know that this is all possible if you use SqlServer for a backing store, but I want them to be in memory. ...

asp.net, stateserver, NLB, session lost.

Hello everyone, 1st post on stackoverflow, hope to have great feedback :) I'm currently trying to load balance our web site. We have set up a 2 cluster NLB on windows server 2003 with IIS 6. While testing the setup, I found that sometimes, our session is lost. A day and a half later, here's the result: Yes, our machine.config both ha...

Session expires using state server on application pool refresh

I have a .NET 1.1 application hosted on two different servers, but on one of them whenever the application pool is recycled, all sessions are dropped. Both applications are using “StateServer” session mode and as far as I could tell, both servers have exactly the same configuration and have the “ASP .NET State Server” service running. ...

Session StateServer connection string issue

We implemented the session state server and deployed in local PC(windows xp) its working fine. WE deployed in windows server 2003 we got the issue in connection string. Any one help me. ...

StateServer to save session

Hi, 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 ...

Unable to make the session state request to the session state server

Our site is currently having this problem. Basically it only happen when we click some particular links where it will pop-up a new window. This is the error message we receive : 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 por...

SQLServer vs StateServer for ASP.NET Session State Performance

I'm studying for a MS certification and one of the practice tests I'm doing has a question where the point of contention is the performance between storing the session in SQL Server as opposed to StateServer. Given the app is running in a web farm, which solution for session state gives the best performance (SQL Server or StateServer) a...

ASP.NET Session Mix-up using StateServer (SCARY!)

We store two objects in session. Somehow, one of the objects from another users got loaded into a different users session. The user should have had no access to this particular data, and as soon as they saw it they knew something was very wrong. We have visual proof of the data that was presented to him, and there is certainly no way ...

Asynchronus File Upload with StateServer Mode

Hi Friends, I want to implement Asynchronus File Upload. I've tried ajax:AsyncFileUpload control. It's working fine only with InProc Mode. But I'm using StateServer Mode. Any help from anybody? Thanks in advance. Regards Debashis ...

Any examples of implementing DotNetOpenId on ASP.NET State Server?

We have dotopenopenId implemented on our web farm which currently uses scaleout. We want to replace ScaleOut with ASP.NET State Server, but I'm wondering if there are any examples of the interfaces that need to be built for the AssociationStore and the ProviderStore. ...

Two versions of same asp.net app using same server as stateserver - bad?

We have 2 production web servers for our web app, load balanced to handle lots of traffic. We also have a similar setup for testing. Test pool: [TEST 1]---[TEST 2] Prod pool: [PROD 1]---[PROD 2] When comparing the Web.Config of the app versions (test vs live) I discovered something surprising: both pools have the same value ...

Why am I losing sessions when running in StateServer mode?

I have checked the servers (Win Server 2003) application event logs for the following problem http://support.microsoft.com/kb/308097 which doesn't show up. It just appears that sessions drop randomly for random users It's a single server setup, no web farms and no load balancing Even though the issue I point to above doesn't occur in t...

Pros and Cons of using ASP.NET Session State Server (instead of InProc)?

Before I start using Session State server for the benefit of making session state more robust in may apps compared to InProc state, I'd like to find a list of Pros and Cons for evaluation. Update 1: Also what about surviving application pool recycles? Update 2: What about longevity of sessions and their endings? ...

StateServer not allowing WCF returned type to be stored in session variable

Hello, I'm making a call to one of our internal WCF services from within a 1.1 web application and returning a type which I then store in session. The returned type contains data for the page and when the page renders I get the following message: "Unable to serialize the session state. Please note that non-seriWializable objects or M...

State server in webfarm scenario?

This is a fairly basic question about state server but assume there are 2 servers behind a load balancer. How do I configure the session state server? So, I have machine1 and machine2. I would assume that I would need to install the state server on 1 machine only and then use the internal IP to refer to that machine. Is this correct? As...

How to maintain the same session id across multiple web applications in ASP.NET

I have two identical applications setup on IIS on different virtual directories (I have done some workaround to ensure that they both have the same application name). Is there a way to share session id across two asp.net web applications? Since I'm storing the session in StateServer, they should both be getting the same session data, h...

Why can't I share Session state between 2 web apps with StateServer? What am I missing?

I'm having trouble getting 2 identical ASP.NET MVC applications to share the same Session using a Session StateServer. The reason I'm trying to do this is we will eventually be deploying this app across 3 web servers that need to share the same state. We need to use StateServer because we are trying to minimise use of the db for non data...

Should StateServer (aspnet_state.exe) release RAM when a session ends?

I am noticing that the StateServer service only grows in memory usage. When a user logs out the session is ended with: Session.Clear() Session.RemoveAll() Session.Abandon() I assumed that StateServer would then release some memory, but it will actually consume a bit more. In web.config I have the timeout set to 20 minutes. The sessi...