Similarly, if you are doing load balancing by clustering several computers, the session data is stored only on the computer that created it.
相似地,如果您正在通过群集几个计算机来实现负载平衡,那么会话数据只存储在创建它的计算机上。
If that server fails for some reason, you will have lost your session and will need to re-establish a session with another computer on the cluster.
如果该服务器由于某些原因出现故障,您就丢失了会话,且将需要在集群上通过另一台计算机重新建立会话。
Often, in a clustered situation, session state is kept on one computer in the cluster, and the load balancer always directs requests from a user to the machine that is storing his or her session.
通常,在集群的情况下,会话状态保存在集群中的一台计算机上,并且负载均衡器总是把用户的请求重定向到保存他(或她)的会话的机器上。
应用推荐