USEGEAR

导航

uniGUIServer.TUniSessionRestrict Enumeration(12)

TUniSessionRestrict = (
  srNone,
  srOnePerIP,
  srOnePerPC
);
Members
Description
srNone
No restrictions are applied to the uniGUI server.uniGUI服务器没有任何限制。
srOnePerIP
When this member is set, uniGUI server will create only one session per each connected IP address. If more than one session request comes from same IP address then previously created session will be destroyed and a new session will be created.
 
当设置了这个成员后,uniGUI服务器将为每个连接的IP地址只创建一个会话。如果多个会话请求来自同一个IP地址,那么之前创建的会话将被销毁,并创建一个新的会话。
srOnePerPC
When this option is set, the server will try to create only one session per remote PC. To achieve this, the server will keep a cookie in the client PC and check it each time a new session is created. It will force each PC to run only one session. However, this restriction can be overridden by running a session in a different browser. For example, in the same PC you can have one session in Firefox and another in Chrome, but you can not have more than one session either in Chrome or Firefox.
 
当设置此选项时,服务器将尝试在每个远程PC上只创建一个会话。为了实现这一点,服务器将在客户端PC上保存一个cookie,并在每次创建新的会话时检查它。它将强制每台PC只运行一个会话。但是,可以通过在不同的浏览器中运行会话来重写此限制。例如,在同一台PC上,你可以在Firefox中有一个会话,在Chrome中有另一个会话,但你不能在Chrome或Firefox中有多个会话。
 

posted on 2022-08-26 11:31  USEGEAR  阅读(119)  评论(0编辑  收藏  举报