当前位置:SCDCD(310-081)题库

问题:

[单选]

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

You administer your companys network. All client computers run Microsoft Windows Vista. A standard user reports that they are unable to install an application. You need to install the application.  What should you do? () While the standard user is logged on, at the consent prompt, click Continue and install the application.。 While the standard user is logged on, at the credential prompt, provide administrative credentials.。 Create a .pwl file that stores administrative credentials. Double-click the installation file.。 Copy the contents of the CD-ROM to the local hard disk. Run the application installation from  the local hard disk.。 动机冲突有哪些类型? 商业银行的所有者权益包括() 。 实收资本。 资本公积。 盈余公积。 贷款净余额。 未分配利润。 一般公务用车严格执行()停放制度。 单位停车场。 指定地点。 随意场所。 不确定。 汽车尾气对大气污染严重,因此监督检测汽车(),已成为汽车检测的重要项目。 废气污染程度。 发动机配气相位。 混合气燃烧状况。 发动机空燃比。

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?()

参考答案:

  参考解析

本题暂无解析

在线 客服