Is Memcached interchangeable with ASP.NET State Server?

后端 未结 3 986
有刺的猬
有刺的猬 2020-12-10 18:19

I use ASP.NET and WCF services in a load balanced web server environment, using Memcached in the service layer.

I also wanted to replace the use of ASP.NET State Ser

3条回答
  •  情书的邮戳
    2020-12-10 18:56

    http://www.codeplex.com/memcachedproviders has a session state provider for asp.net that stores values in memcached. It provides the ability to backup the session data in ' SQL Server. As yogman said the session data is stored as one value. If an eviction happends, whole session for that user is lost and user will be directed to the login screen. Memcached doesn't evict any data before expiration unless it is running out of space to hold new data.

提交回复
热议问题