将会话状态与缓存的状态区分开很重要。
It is important to distinguish session state from cached state.
如果没有会话状态,那么这个操作会很难处理。
Without session state, this operation would be difficult to handle.
在数据库中存储会话状态的成本可能难以承受。
Storing conversational state in the database can be prohibitively expensive.
用户会话与应用程序中的用户会话状态的耦合。
Coupling of user session with user session state in the application.
所以,在应用程序中保存会话状态是非常重要的。
So, session state is very important to preserve in an application.
会话状态越庞大,对可伸缩性和执行能力的影响越大。
The larger the session state, the more your scalability and performance suffers.
不幸的是,会话状态管理不当会带来严重的性能问题。
Unfortunately, injudicious management of session state can cause serious performance problems.
这意味着它们绝不应该包含一个运行中的用户会话状态。
That means that they should never contain the state of a running user session.
这个信息叫做会话状态,是有用的应用程序的重要部分。
This information is called session state and is an important ingredient of a useful application.
此类机制可以用于提供会话状态,但使用它们会有性能损失。
The mechanisms can be used to make the session state available, but there is a performance cost in using them.
这意味着在REST应用程序中,服务器上没有存储任何会话状态。
This means in a REST application no session state is stored on the server.
有一项可选服务可将会话状态数据保存在web应用程序内存之外。
It is an optional service that can be used to store session state data outside of the Web application memory space.
如果并不需要会话状态,Portlet可以使用其他数据存储选项。
If session state is not really required, there are other data storage options available for portlets.
此缺陷的发生是因为在使会话对象失效时,存在某个未被清除的会话状态。
This defect occurred because there was some session state that was not being cleaned up when the session object was invalidated.
Portlet一定不能因为调用了呈现链接而修改会话状态或后端状态。
The portlet must not modify session state or backend state as a result of the invocation of a render link.
例如,只需稍作修改,就可以为state模式引入持久性,以跟踪会话状态。
For instance, with slight modification you can introduce the state pattern with some persistence to keep track of conversational state.
使用会话状态的目的是为了保存不能从另一个状态或当前交互重新计算的瞬时信息。
The purpose of session state is to keep information that is transient in nature and that cannot be recomputed from another state or the current interaction.
基础结构必须适应各种可能性,如某些使用者无法在临时停机的情况下保留其会话状态。
The infrastructure must accommodate possibilities such as some consumers being unable to retain its conversational state across temporary outages.
因此,如果要创建比一个请求-响应周期更长的有用交互,就必须存储会话状态。
So to create useful interactions with users with a duration of longer than a single request-response cycle, session state must be maintained somewhere.
Jules指出,会话状态让用户可能与远程应用程序(例如Web应用程序)进行对话。
Jules points out that session state makes it possible for a user to have a conversation with a remote application, like a Web application.
DWR框架可以用来在服务器端接收这些事件,但是服务器端会话状态需要维护在什么地方?
The DWR framework can be used to receive these events on the server side but where the conversational state needs to be maintained on the server side?
有状态会话bean维护客户机的“会话状态”,适合处理那些跨越多个客户机请求的任务。
Stateful session beans maintain a "conversational state" with the client and are good for sets of related tasks that span multiple client requests.
AjaxBean中的方法本质上被预期是无状态的,会话状态必须维护在其他地方。
The methods in the AjaxBean are expected to be stateless in nature and the conversational state must be maintained somewhere else.
AppFabric用于在内存中缓存频繁访问的数据,而且还可以作为一种会话状态提供程序。
AppFabric is used for in-memory caching of frequently-accessed data, and can also serve as a session state provider.
因此确认你要用来存储会话状态的JSF管理bean已经收到了一个facerequest。
So make sure that the JSF managed bean that you are going to use for storing the conversational state has already received a faces request.
特别地,由于可能在不同导航的组合中访问同一个会话,因此应将导航状态和会话状态设计为彼此正交。
In particular, navigational state and session state should be designed to be orthogonal, since it is possible to access the same session in combination with different navigational states.
我们可以通过将服务设计为在响应中包含合适的关联信息,从而避免会话状态的需求,例如以下的响应。
We can avoid the need for conversational state by designing the service to include suitable correlation information in the response, such as the following.
具体来说,Lift拥抱了会话状态,隐藏了HTTP,而我倾向于拥抱HTTP,并且避免会话状态。
Specifically, Lift embraces session state and hides the HTTP, whereas I tend to embrace HTTP and avoid session state.
在此阶段,Portlet可以自由地更改会话状态或后端状态,并在操作阶段结束时关联新呈现参数。
The portlet is free to alter session state or backend state during this phase and associates new render parameters at the end of the action phase.
取决于该的应用程序体系结构的更改可能包括令人生畏任务如同步会话状态和跨服务器位置复制数据库事务。
Depending on the application, changing the architecture could include daunting tasks such as synchronizing session state and replicating database transactions across server locations.
应用推荐