当要设置Session会话时间长短时使用下列哪个属性( )。 A.SessionIDB.IntervalC.TimeoutD.Time

当要设置Session会话时间长短时使用下列哪个属性( )。

A.SessionID

B.Interval

C.Timeout

D.Time


相关考题:

session对象的()属性是只读属性,其中包含了唯一的用户会话标识符。

实际开发中使用Session可以设置访问的安全性,请选择Session所设置的属性的数据类型()A、StringB、IntC、ObjectD、vector

Session的作用是什么,当不能使用 Session会话时最可能出现的原因是什么?

Application 和 Session 两种会话有什么不同。Application会话自身具有那些属性?

下列关于session的说法错误的是()。A.对于同一个用户,当网站的页面改变时,用户使用的session也会改变。B.在访问网站时,服务器端自动分配一个session对象给用户使用。C.session负责保存同一个客户端一次会话过程中的一些信息。D.session能够跨页保持。

38、session对象的()方法用于设置会话的超时时间。A.session.setAttribute(time,30);B.session.setMaxTime(30);C.session.getMaxInactiveInterval();D.session.setMaxInactiveInterval(30);

session对象的()方法用于设置会话的超时时间。A.session.setAttribute(time,30) ;B.session.setMaxTime(30) ;C.session.getMaxInactiveInterval() ;D.session.setMaxInactiveInterval(30);

要在session对象中保存属性,可以使用以下哪个()语句。A.session.getAttribute(“key”,”value”);B.session.setAttribute(“key”,”value”);C.session.setAtrribute(“key”);D.session.getAttribute(“key”);

Servlet中使用Session对象的步骤为: 调用 HttpServletRequest._________________ 得到Session对象,查看Session对象,在会话中保存数据。