这个信息叫做会话状态,是有用的应用程序的重要部分。
This information is called session state and is an important ingredient of a useful application.
此外,无状态很难实现,可能会导致多次往返数据库来获取本来通常存储在会话上下文中的信息。
Additionally, statelessness can be difficult to achieve and can lead to multiple round trips to the database for information that is normally stored within the context of the session.
我们可以通过将服务设计为在响应中包含合适的关联信息,从而避免会话状态的需求,例如以下的响应。
We can avoid the need for conversational state by designing the service to include suitable correlation information in the response, such as the following.
核心Facebook类封装了对用户进行授权、创建Facebook对话框、发出API请求、注销用户以及获得或设置访问和会话信息及状态的方法。
The core Facebook class encapsulates methods to authorize the user, create Facebook dialogs, make API requests, log out the user, and get or set access and session information and status.
这意味着portlet不再需要在会话中存储导航状态信息,基于portlets的IBM portletAPI就是最好的例子。
This means that the portlet does not need to store this navigational state information in the session any longer, as was the case with the IBM portlet API based portlets.
为了缩短系统启动时间并降低整体负荷,应尽可能使用非持久性会话bean,而不应使用实体 bean(将自动维护状态信息)。
To reduce system startup times and general overhead, use non-persistent session beans rather than entity beans (which automatically maintain state information) whenever possible.
有状态会话bean保存特定客户机调用之间的信息。
A stateful bean preserves information between invocations from a specific client.
如果不能识别,服务器可以忽略全部或部分Header(比如,无状态的服务器可能会忽略Header中的会话信息)。
The server is free to ignore all or some of the header if it does not recognize it (for instance, a stateless server may ignore session information from the header).
StoreControllerservlet使用称为CategoriesBean的无状态会话EJB 的getCats()方法获取产品类别信息。
The StoreController servlet fetches the product categories information using the getCats() method of a stateless session EJB called CategoriesBean.
ErrorBean实例被存储在用户的会话中(关于会话的更多信息,请参阅JeffWilson 的文章,GoFor-It 记事,第 3部分:会话管理,servlet和维护状态)。
The ErrorBean instance is stored in the user's session (for more about sessions, see Jeff Wilson's article, The GoFor-It Chronicles Part 3: Session management, servlets, and maintaining state).
会话状态的目的是保持那些临时性的且无法从其他状态或当前交互重新计算的信息(例如,购物车的内容)。
The purpose of session state is to keep information that is transient in nature and that cannot be recomputed from other state or the current interaction (for example, the content of a shopping cart).
使用会话状态的目的是为了保存不能从另一个状态或当前交互重新计算的瞬时信息。
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.
FacesContext对象包含了JSF用来管理当前会话中当前请求的GUI组件状态所需要的所有状态信息。
The FacesContext object contains all the state information JSF needs to manage the GUI component's state for the current request in the current session.
一个Screen会话正在运行(尽管看不到),窗口A处于活动状态,它正在运行系统监视器top,每隔几秒刷新一次系统性能信息。
A Screen session is running (albeit unseen), and window a is active, running the top system monitor, which refreshes system performance information every few seconds.
在并行重组过程中,采用二维链表保存(例如会话列表、相应状态和任务分配结果等)关键信息。
Some key information such as sessions and their corresponding states, operation results were saved by using a two-dimensional linked list in parallel reassembly process.
NET提供状态管理功能,以便您可以在往返行程间保存您自己的变量和应用程序特定或会话特定的信息。
NET provides state management capabilities so you can save your own variables and application-specific or session-specific information between round trips.
它用于存放并管理已接受协作会话邀请的对等方的应用程序、对象和状态信息。
It is used to contain and manage application, object, and presence information for peers that have accepted invitations to a collaboration session.
IMP技术具有感知联系人状态,联系人间即时信息传递,建立和管理多人会话等特征。
IMP technology has many good features, like contact status notification, instant message delivering and multi-conference establishment and management.
由于该SCT包含整个状态信息,因此,其大小要比基于会话的类型大。
Because the SCT contains the entire state information, its size is larger than in the session-based case.
由于该SCT包含整个状态信息,因此,其大小要比基于会话的类型大。
Because the SCT contains the entire state information, its size is larger than in the session-based case.
应用推荐