A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user.  The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession.  Which method in HttpSession is used to accomplish this?()A、 getCreationTimeB、 invalidateAfterC、 getLastAccessedTimeD、 getMaxInactiveInterval

A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user.  The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession.  Which method in HttpSession is used to accomplish this?()

  • A、 getCreationTime
  • B、 invalidateAfter
  • C、 getLastAccessedTime
  • D、 getMaxInactiveInterval

相关考题:

以下()不属于FrontPage中常用术语。 A、Web地址B、Web页面C、Web站点D、Web服务器

● (72) means “Any HTML document on an HTTP server”.(72)A. Web ServerB. Web BrowserC. Web SiteD. Web Page

web的特点有() A.Web是动态的B.Web是图形化的和易于导航的(navigate)C.Web与平台无关D.Web是分布式的

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A. Include a data source identified as WebPartConnection1 on the Web Form.B. Include a Web Part identified as customerPart on the Web Form.C. Include a Web Part identified as ordersPart on the Web Form.D. Ensure that you declare an interface named IOrdersPart.E. Ensure that you declare an interface named ICustomerPart.F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

______ means "Any HTML document on an HTTP Server".A.Web ServerB.Web pageC.Web BrowserD.Web site

The Junos OS blocks an HTTP request due to the category of the URL.Which form of Web filtering is being used?() A. redirect Web filteringB. integrated Web filteringC. categorized Web filteringD. local Web filtering

WAF是什么意思?() A.web扫描B.web应用防护系统C.web流量清洗D.web流量检测

关于Web2.0 与Web1.0,错误的是( )A.Web2.0 页面简洁,风格流畅B.Web1.0垂直化、大众化C.Web2.0追求物质性价值D.Web2.0体验追求情感性利益

WEB应用测试不包括()A、WEB应用设计测试B、WEB应用开发测试C、WEB应用运行测试D、WEB应用分析测试

网络广告又称为()A、Wee ADB、Web AFC、Web ADD、Web CD

WCCP的是哪些词汇的简称()?A、Web Cache Communication ProtocolB、Web Content Cache ProtocolC、Web Cache Content ProtocolD、Web Cookie Communication Protocol

JAVA Web应用的部署描述文件总是放在Web应用的()目录下。A、META-INFB、META-CFGC、WEB-INFD、WEB-CFG

Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?()A、System DesignerB、XCOPY deploymentC、Deployment DesignerD、Web Deployment

Web客户端的防护措施重点是对()的安全进行防护。A、Web浏览器B、Web应用系统C、Web程序组件D、Web用户

按照Web处理对象不同分类,Web数据挖掘的类型包括()。A、Web内容挖掘B、Web结构挖掘C、运行模式挖掘D、Web使用模式挖掘E、Trackback挖掘

UAM认证可以支持与企业Web门户系统的单点登录,单点登录的类型有()A、企业Web门户系统整合Web PortalB、企业Web门户整合UAM用户自助C、企业门户整合iNode客户端D、Web Portal整合企业Web门户E、iNode客户端整合Web门户链接

下列关于WEB开发说法正确的是()A、Web是图形化的和易于导航的B、Web与平台无关C、Web是分布式的D、Web是动态的E、Web是静态的

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A、 /conf/web.xmlB、 /WEB-INF/web.xmlC、 /conf/server.xmlD、 /META-INF/web.xmlE、 /WEB-INF/rules.xmlF、 /META-INF/server. Xml

You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()A、Ensure that the Web control inherits from the WebControl class.B、Ensure that the Web control inherits from the Control class.C、Ensure that the Web control inherits from the CompositeControl class.D、Ensure that the Web control inherits from the UserControl class.

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A、Include a data source identified as "WebPartConnection1" on the Web Form.B、Include a Web Part identified as "customerPart" on the Web Form.C、Include a Web Part identified as "ordersPart" on the Web Form.D、Ensure that you declare an interface named "IOrdersPart".E、Ensure that you declare an interface named "ICustomerPart".F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

Your network consists of a single Active Directory domain. The network contains five Windows Server 2008 R2 servers that host Web applications. You need to plan a remote management strategy to manage the Web servers.  Your plan must meet the following requirements: èAllow Web developers to configure features on the Web sites   èPrevent Web developers from having full administrative rights on the Web servers What should you include in your plan?()A、Configure request filtering on each Web server.B、Configure authorization rules for Web developers on each Web server.C、Configure the security settings in Internet Explorer for all Web developers by using a Group Policy.D、Add the Web developers to the Account Operators group in the domain.

You need to ensure that Web1, Web2, and Web3 download updates from WSUS1. What should you do?()A、Modify the Default Domain Policy Group Policy object (GPO).B、Modify the local computer policy on Web1, Web2, and Web3.C、Import a security policy template toWeb1, Web2, and Web3.D、Create a service location (SRV) record in the _msdcs.graphicsdesigninstitute.com DNS zone.

Which utility allows you to pre-compile and publish your Web site to a new location?()A、Publish Web SiteB、Web-based installationC、Web site project modeD、Web services directory

单选题Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A /conf/web.xmlB /WEB-INF/web.xmlC /conf/server.xmlD /META-INF/web.xmlE /WEB-INF/rules.xmlF /META-INF/server. Xml

单选题The Junos OS blocks an HTTP request due to a Websense server response.Which form of Web filtering is being used?()Aredirect Web filteringBintegrated Web filteringCcategorized Web filteringDlocal Web filtering

单选题The Junos OS blocks an HTTP request due to its inclusion on the url-blacklist.Which form of Web filtering on the branch SRX device is fully executed within the device itself?()Aredirect Web filteringBintegrated Web filteringCblacklist Web filteringDlocal Web filtering

单选题在使用SSL协议访问Web站点web.abc.com时,需要在浏览器的地址栏中输入()Ahttp://web.abc.comBhttpa://web.abc.comChttps://web.abc.comDhttpt://web.abc.com

多选题You are a systems administrator responsible for managing a Windows Server 2008 Web Server Currently,there are no Web sites configured on the server. You need to configure the server to host two Web applications: Engineering App and Sales App. Both Web applications must be accessible by using HTTPport 80 without the use of host headers. Also, you must protect against problems in one Web applicationaffecting the performance or reliability of the other Web application. Which two steps should you take tomeet these requirements?()ACreate a single Web site that contains both Web applications.BCreate two Web sites, one for each Web application.CAssign both Web applications to the same application pool.DAssign each Web application to its own application pool.