【单选题】在J2EE中,在web.xml中,有如下代码: <session - config> <session- timeout>30</session - timeout> </session - config> 上述代码定义了默认的会话超时时长,时长为30()A.毫秒B.秒C.分钟D.小时
【单选题】在J2EE中,在web.xml中,有如下代码: <session - config> <session- timeout>30</session - timeout> </session - config> 上述代码定义了默认的会话超时时长,时长为30()
A.毫秒
B.秒
C.分钟
D.小时
参考答案和解析
可以使用HttpSession类的getMaxInactiveInterval()方法把该值提取出来
相关考题:
在J2EE中,在web.xml中,有如下代码:session-configsession-timeout30/session-timeout/session-config以下描述正确的是()。 A.顶一了,默认的会话超时时长、时间为30秒。B.可以使用HttpSession类的getMaxInactiveInterval()方法把该值提取出来C.定义了默认的会话超时时长。时长为30小时D.可以使用Session类的getMaxInactiveInterval()方法把该值取出来
在J2EE中,在web.xml中,有如下代码:30以下描述正确的是() A.定义了默认的会话超时时长,时长为30秒B.可以使用httpsession类的getMaxInactiveInterval()方法把该值取出来C.定义了默认的会话超时时长,时长为30小时D.可以使用Session类的getMaxInactiveInterval()刚发把该值取出来
What is the default session timeout for UDP sessions?() A. 30 secondsB. 1 minuteC. 5 minutesD. 30 minutes
关于Session对象的属性,下列说法正确的是()A、Session的有效期时长默认为90秒,且不能修改B、Session的有效期时长默认为20分钟,且不能修改C、Session ID可以存储每个用户Session的代号,是一个不重复的长整型数字D、以上全都错
在同一个应用程序的页面1中执行Session.Timeout=30,那么在页面2中执Response.WriteSession.Timeout,则输出值为多少分钟()A、15B、20C、25D、30
在J2EE中,在web.xml中,有如下代码:30以下描述正确的是()A、定义了默认的会话超时时长,时长为30秒B、可以使用httpsession类的getMaxInactiveInterval()方法把该值取出来C、定义了默认的会话超时时长,时长为30小时D、可以使用Session类的getMaxInactiveInterval()刚发把该值取出来
在J2EE中,在web.xml中,有如下代码: 30 /session-config 以下描述正确的是()。 A、顶一了,默认的会话超时时长、时间为30秒。B、可以使用HttpSession类的getMaxInactiveInterval()方法把该值提取出来C、定义了默认的会话超时时长。时长为30小时D、可以使用Session类的getMaxInactiveInterval()方法把该值取出来
What is the default session timeout for UDP sessions?()A、30 secondsB、1 minuteC、5 minutesD、30 minutes
在同一个应用程序的页面1中执行Session.TimeOut=30,那么在页面2中执行Response.WriteSession.TimeOut,则输出值为多少?()A、15B、20C、25D、30
ession对象的()方法用于设置会话的超时时间。A、session.setAttribute(“time”,30);B、session.setMaxTime(30);C、session.getMaxInactiveInterval();D、session.setMaxInactiveInterval(30);
What is the default session timeout for TCP sessions?()A、1 minuteB、15 minutesC、30 minutesD、90 minutes
You discover an out-of-space condition in the database. You decide to suspend a session for five minutes. You issue the following command to suspend the session: ALTER SESSION ENABLE RESUMABLE; Which command could you issue to enable the resumable space allocation feature at the session level?() A、 ALTER SESSION ENABLE RESUMABLE_TIMEOUT = 5;B、 ALTER SYSTEM ENABLE RESUMABLE_TIMEOUT = 5;C、 ALTER SESSION ENABLE RESUMABLE_TIMEOUT = 300;D、 ALTER SYSTEM ENABLE RESUMABLE TIMEOUT = 300;
单选题在同一个应用程序的页面1中执行Session.TimeOut=30,那么在页面2中执行Response.WriteSession.TimeOut,则输出值为多少?()A15B20C25D30
单选题在同一个应用程序的页面1中执行Session.TimeOut=30,那么在页面2中执行Response.WriteSession.TimeOut,则输出值为()。A15B20C25D30
单选题在同一个应用程序的页面1中执行Session.Timeout=30,那么在页面2中执Response.WriteSession.Timeout,则输出值为多少分钟()A15B20C25D30
单选题What is the default session timeout for UDP sessions?()A30 secondsB1 minuteC5 minutesD30 minutes
单选题在J2EE中,在web.xml中,有如下代码: 30 以下描述正确的是()。A顶一了,默认的会话超时时长、时间为30秒。B可以使用HttpSession类的getMaxInactiveInterval()方法把该值提取出来C定义了默认的会话超时时长。时长为30小时D可以使用Session类的getMaxInactiveInterval()方法把该值取出来
单选题在J2EE中,在web.xml中,有如下代码:30以下描述正确的是()A定义了默认的会话超时时长,时长为30秒B可以使用httpsession类的getMaxInactiveInterval()方法把该值取出来C定义了默认的会话超时时长,时长为30小时D可以使用Session类的getMaxInactiveInterval()刚发把该值取出来
单选题You discover an out-of-space condition in the database. You decide to suspend a session for five minutes. You issue the following command to suspend the session: ALTER SESSION ENABLE RESUMABLE; Which command could you issue to enable the resumable space allocation feature at the session level?()A ALTER SESSION ENABLE RESUMABLE_TIMEOUT = 5;B ALTER SYSTEM ENABLE RESUMABLE_TIMEOUT = 5;C ALTER SESSION ENABLE RESUMABLE_TIMEOUT = 300;D ALTER SYSTEM ENABLE RESUMABLE TIMEOUT = 300;