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
相关考题:
● (72) means “Any HTML document on an HTTP server”.(72)A. Web ServerB. Web BrowserC. Web SiteD. Web Page
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
WCCP的是哪些词汇的简称()?A、Web Cache Communication ProtocolB、Web Content Cache ProtocolC、Web Cache Content ProtocolD、Web Cookie Communication Protocol
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
UAM认证可以支持与企业Web门户系统的单点登录,单点登录的类型有()A、企业Web门户系统整合Web PortalB、企业Web门户整合UAM用户自助C、企业门户整合iNode客户端D、Web Portal整合企业Web门户E、iNode客户端整合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.