httpsession
- 网络会话
-
The content of the new page is given by the data sent into Httpsession .
通过发送到Httpsession的数据来为新页面提供内容。
-
Lastly , I place two pieces of information into an HttpSession object .
最后,我将两部分信息放置到HttpSession对象中。
-
However , the HTTPSession does expire based upon inactivity .
不过,HTTPSession确实基于不活动性终止。
-
DWR adds the HttpSession automatically to the method call .
DWR自动把HttpSession添加到方法调用。
-
Of course , reducing the overall size of your HttpSession objects is a highly effective tuning technique .
当然,减少HttpSession对象的总体数量也是十分高效的优化技术。
-
A simple example would be a J2EE application that uses in-memory HttpSession objects to store user session information .
一个简单示例是J2EE应用程序,它使用内存中的HttpSession对象存储用户会话信息。
-
WebSphere tracks user and session information for preventing duplicate entries ( HTTPSession object ) .
WebSphere记录用户和会话信息以免出现重复一些条目(HTTPSession对象)。
-
Shiro 's Session object lets you use a user 's session without having an HttpSession .
Shiro的Session对象允许无需HttpSession即可使用一个用户会话。
-
Use the HttpSession to store user-specific state .
使用HttpSession存储和用户相关的状态。
-
If I wanted to grab the instance of HttpSession , I 'd use the session variable name .
如果想获得HttpSession的实例,那么就要使用session变量名。
-
Unfortunately , developers often lose sight of the intent of the HttpSession & to maintain temporary user state .
遗憾的是,开发人员常常遗忘了HttpSession的目的&用来保持临时的用户状态。
-
This context object is then saved as a private field so that subsequent calls can use it to obtain the HttpSession .
然后context对象保存为私有字段,这样后来的调用可以使用它来获取HttpSession。
-
In addition , SWAM authentication state is maintained by using the HTTPSession rather than an independent cookie like LTPA .
另外,SWAM认证状态是通过HTTPSession来维护的,而不是像LTPA那样的单独cookie。
-
A discussion on how to minimize memory use in HttpSession is contained in Improving HttpSession Performance with Smart Serialization .
在使用智能序列化改进HttpSession性能中讨论了如何使HttpSession的内存使用率降至最低。
-
In J2EE , we use the HTTPSession API to store , retrieve , and associate session data with a given user ID.
在J2EE中,我们使用HTTPSessionAPI来存储、检索会话数据,或者将会话数据与某一特定用户ID相关联。
-
Othewise , the HttpSession object obtained by the service endpoint is either null or very likely different across service invocations .
否则,服务端点获取的HttpSession对象将为空,或者各个服务调用的HttpSession很可能不一致。
-
The data will be retrieved from Httpsession by the managed bean , DetailBean , of the new page .
数据由受管beanDetailBean从新页面的Httpsession检索。
-
Indeed , it appears that you can store any object in HttpSession and pull it out without ever coding any special lookup logic yourself .
实际上,它似乎可以将任何对象保存到HttpSession中,并且不需要自己实现任何特定的查找逻辑就可以将这些对象取出来。
-
All page information is passed by category data from Httpsession , so , theoretically , data put into Httpsession determines what the new page will look like .
所有的页面信息都将由类别数据从Httpsession传递过来,所以,理论上讲,放入Httpsession的数据决定了新页面的外观。
-
The Shiro team felt that the HttpSession API was most comfortable to Java developers , so we retained much of its feel .
Shiro团队觉得对于Java开发者,HttpSessionAPI用起来太舒服了,所以我们保留了它的很多感觉。
-
This wrapper implements the HttpSession interface by delegating methods to an original session , which can be passed in the constructor .
这个包装器通过将方法托管给一个初始的会话(该会话可传入到构造函数中),实现了HttpSession接口。
-
The SipSession class is the best representative of a specific point-to-point communication between two entities and is the closest to the HttpSession object .
SipSession类是两个实体间具体的点到点通信的最佳代表,与HttpSession对象最为接近。
-
We don 't need to interact with the HTTP Session directly , and can easily unit test the UserController without a mock HttpSession object .
我们不需要直接跟HTTPSession对象打交道,而且可以轻松地对UserController进行单元测试,而不需要一个mockHttpSession对象。
-
Another advantage of using the HttpSession to store conversational state is that the Servlet API offers an easy way to be notified when a session expires .
使用HttpSession存储会话状态的另一个好处是ServletAPI提供了一种会话失效时通知的容易方法。
-
As you might have guessed , my recommendation is to not use HttpSession as an application cache and instead use HttpSession for associating multiple user requests .
正如您可能已经猜到的,我的建议是不要将HttpSession用作应用程序缓存,而是将HttpSession用于关联多个用户请求。
-
Accordingly , most servlet containers support some form of HttpSession replication , but the mechanism , configuration , and timing of replication is implementation-dependent .
相应地,大多数servlet容器支持某种形式的HttpSession复制,但是复制的机制、配置和时间是由实现决定的。
-
The DWR Java classes obtain the instance of someManagedBean from the HttpSession object and set its properties to reflect the current conversational state of the user .
DWRJava类从HttpSession对象中获得someManagedBean实例并设置其属性以反映用户当前会话状态。
-
This means that whenever you call a corresponding HttpServletRequest or HttpSession method call , Shiro will delegate these calls to its internal native Session API .
这意味着,不管何时你使用相应的HttpServletRequest或HttpSession方法调用,Shiro都会将这些调用委托给内部的原生会话API。
-
One of the most important functions provided by the Servlet API is session management & authentication , expiration , and maintenance of per-user session state through the HttpSession interface .
ServletAPI提供的一个最重要的功能是会话管理&通过HttpSession接口进行用户状态的认证、失效和维护。
-
Briefly , the HttpSession interface supports several methods that a servlet , JSP page , or other presentation-layer component can use to maintain session information across multiple HTTP requests .
简单地说,HttpSession接口支持几种方法,servlet、JSP页或者其他表示层组件可以用这些方法来跨多个HTTP请求维护会话信息。