User1435223242 posted
hi, experts,
just aware of the mode - StateServer
from doc., https://msdn.microsoft.com/en-us/library/ms178586.aspx
StateServer mode, which stores 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.
I have 3 questions,
1) is the setting applied to both MVC and web form implementation? is State Server Mode working for both web and MVC?
2) for asp.net, I can have application variable and session variable
for example,
System.Web.HttpContext.Current.Session["hello"] = "yes";
System.Web.HttpContext.Current.Application["helloall"] = "yes yes";
is State Server Mode working for both web and MVC?
3) if the web application having login function and some session per login, is State Server Mode working for this scenario ?
if the user suddenly close the browser, and then relogin, full new set of session variables to be created and saved in State Server.
or after relogin , previous set of session variables can be get from State Server?
thank you very much!
delaynomore