When user state is stored in session objects, this generally implies that a given user's requests are all directed to the same server instance.
当将用户状态存储在会话对象中时,这通常意味着给定用户的请求全都针对同一个服务器实例。
Depending on the application, changing the architecture could include daunting tasks such as synchronizing session state and replicating database transactions across server locations.
取决于该的应用程序体系结构的更改可能包括令人生畏任务如同步会话状态和跨服务器位置复制数据库事务。
Session state represents data that is kept on the server with a limited lifetime managed by the portlet container.
会话状态表示服务器上保持的具有有限生存期的数据,其生存期由Portlet容器进行管理。
While the passivation mechanism is helpful in freeing up container resources, it does nothing to prevent a server crash from losing the active state of a stateful session bean.
尽管在释放容器资源方面钝化机制非常有帮助,但是在防止服务器崩溃以避免丢失有状态会话 bean的活动状态方面却无能为力。
Use an application server that provides automatic support for recovery of stateful session bean state.
使用应用程序服务器,该服务器为有状态会话bean的状态恢复提供自动支持。
This common solution to stateful session beans requires server time and resources for passivating the bean state, recycling bean instances, and activating a bean state.
这个针对有状态会话bean的常用解决方案需要花费服务器时间和资源来钝化bean状态、回收bean实例和激活bean状态。
In addition, the use of stateful session beans pushes state to your application server, which is undesirable.
此外,使用有状态会话Bean将会再添加一些状态到您的应用服务器上,这也是不好的做法。
This session timeout also defines how long session state is cached on the server on behalf of a user (WebSphere Application server sets this to 30 minutes by default).
这种会话超时也定义了服务器替用户缓存会话状态的最长时间(WebSphereApplicationServer默认将此设为30分钟)。
Those options allow the load balancer to forward requests to a random or the least-busy server node, because every server node has the same session-state information.
因为每一个服务器节点都有相同的对话状态信息,所以这些选项允许负载平衡器将请求转发到随机或最繁忙的服务器节点。
If a server fails, the session state goes away and users experience odd browser behavior " Why am I back to the home page?"
如果服务器发生了故障,会话状态就丢失了,那么用户就会体验到非常奇怪的浏览器行为“为什么我又回到主页上来了?”
Sometimes this may just be a session id of some sort that can be used to retrieve server-side state from memory or a database.
有时候这仅仅是某种类型的会话id,它可以用来从内存或数据库检索服务器端状态。
However, the developer is responsible for the server-side state through the way a component or its properties are declared, which can be session-persistent.
然而,通过声明组件及其属性,开发人员需要管理服务器端的状态,这种状态可能是会话持久性的。
The other alternatives for storing server-side state in J2EE applications is to use stateful session beans, or store conversational state in the database.
在J2EE应用程序中存储服务器端状态的其他方法是使用有状态会话bean,或者在数据库中存储会话状态。
Due to the limited bandwidth on the wireless network and the lack of support for "cookies" in most wireless gateways, it is not possible to push the user's session state from the server to the client.
由于无线网络的有限带宽,而且多数无线网关不支持“cookie”,所以将用户会话状态从服务器端推入到客户端是不太可能的。
Instead of saving article content for each user session, the site can use smarter data access so that only one copy of each article is cached on the server, and session state usage is minimized.
与其储存每个使用者工作阶段的文章内容,该网站可以使用更聪明的资料存取方式,以便在伺服器上只快取每篇文章的一份复本,这样就可以将工作阶段状态的使用量降到最低。
This id is used to maintain server-side state associated with the client session across requests.
此ID用于在请求间维护与该客户端会话关联的服务器端状态。
This id is used to maintain server-side state associated with the client session across requests.
此ID用于在请求间维护与该客户端会话关联的服务器端状态。
应用推荐