当前位置:SCWCD(310-083)题库

问题:

[单选]

A web application uses the HttpSession mechanism to determine if a user is "logged in." When a usersupplies a valid user name and password, an HttpSession is created for that user. The user has access tothe application for only 15 minutes after logging in. The code must determine how long the user has beenlogged 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

现代意义上的信用风险是指借款人不能按期还本付息而给贷款人造成损失的风险。 下列情形中,最不适合采用人工控制的是()。 大量或重复发生的交易。 难以定义、防范或预见的错误。 大额、异常或偶发的交易。 监督自动化控制的有效性。 《中国共产党廉洁自律准则》对党员和党员领导干部提出了“八条规范”,其中第六条是:廉洁用权,()。 自觉维护人民根本利益。 自觉保持人民公仆本色。 自觉带头树立良好家风。 自觉提升思想道德境界。 信用联系票据是普通的固定收益证券与信用违约期权相结合的信用衍生产品。 自我体验包括()。 自卫。 自立。 自卑。 优越感。

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

参考答案:

  参考解析

本题暂无解析

在线 客服