User user = // retrieve the User object from the database session.setDurationInterval(user.getSessionDuration());
User user = // retrieve the User object from the database session.setMaxDuration(user.getSessionDuration());
User user = // retrieve the User object from the database session.setInactiveInterval(user.getSessionDuration());
User user=//retrieve the User object from the database session.setDuration(user.getSessionDuratio());
User user = // retrieve the User object from the database session.setMaxInactiveInterval(user.getSessionDuration());
第1题:
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?()
第2题:
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?()
第3题:
Manually, you set the consumer group of all of the newly created users to MYDB_GRP. You want the users to be able to change their consumer groups as per the application requirement. What was the first step that was needed in the process to achieve this objective?()
第4题:
You need to create a form for Payroll application that will allow the user to view all information for any employee ID queried. This data should be displayed to the user in a grouped format. The user should be able to choose which information they want to see from a pull down list containing the values PERSONAL and PAYROLL. Which format should you use to create this form?()
第5题:
Your company has an Active Directory domain. A user attempts to log on to the domain from a client computer and receives the following message: "This user account has expired Ask your administrator to reactivate the account." You need to ensure that the user is able to log on to the domain. What should you do()
第6题:
no -p 'core=-1' webapp
chuser 'core=-1' webapp
setsenv -attr 'core=unlimited' webapp
chsec -f '/etc/security/limits' 'core=-1' webapp
第7题:
In the InitComplete event handler, set the Theme property of the Page object based on the user profile.
In the PreLoad event handler, set the Theme property of the Page object based on the user profile.
In the OnLoad event handler, set the Theme property of the Page object based on the user profile.
In the PreInit event handler, set the Theme property of the Page object based on the user profile.
第8题:
Run ipconfig /flushdns at the command prompt.
Reset the password for the local administrator user account.
From the Internet Options in Internet Explorer, clear the AutoComplete history.
From the Internet Options in Internet Explorer, delete the Temporary Internet Files.
第9题:
The user must have been granted the DBA role.
The user must have been granted the switch privilege as a part of a role.
The user must have been granted the Resource Manager administrator privilege.
The user must have been granted the switch privilege by using the DBMS_RESOURCE_MANAGER_PRIVS package.
第10题:
Modify the properties of the user account to set the account to never expire.
Modify the properties of the user account to extend the Logon Hours setting.
Modify the properties of the user account to set the password to never expire.
Modify the default domain policy to decrease the account lockout duration.
第11题:
Persist control data by using view state.
Use Web Part controls.
Maintain a profile for each user.
Enable session state on the Web application.
第12题:
WPARs give more controls for resource management than the traditional AIX operating system tools.
WPARs support Live Application Mobility which can be used to balance user processes acrosssystems.
WPARs each have a copy of the AIX kernel, offering better availability than a system without WPARs.
WPARs provide the ability to apply fixes specific for each environment, enabling the customer to create specialized application servers.
第13题:
Which command will set the core size file to unlimited for the user‘webapp’?()
第14题:
After a merger with another small business, your company has inherited a legacy WAR file but the originalsource files were lost. After reading the documentation of that web application,you discover that the WARfile contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file. What do you need to do to reuse this tag library?()
第15题:
In your database instance, the user sessions are connected to the database server from the remotemachines. You want to achieve the following for these users: 1:The user account must be locked after four unsuccessful login attempts.PASSWORD_LOCK_TIME 2:The user must be prompted to change the password at regular intervals.PASSWORD_LIFE_TIME 3:The user may not have more than three simultaneous sessions.SESSIONS_PER_USER 4:The user session must automatically be logged off if more than 10 minutes elapsed time used.CONNECT_TIME How would you accomplish the above()
第16题:
You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?()
第17题:
Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed. You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes. You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()
第18题:
By assigning profiles for the users
By implementing Fine-Grained Auditing (FGA)
By granting a secure application role to the users
By implementing the Database Resource Manager plan
第19题:
by assigning profiles for the users
by implementing Fine-Grained Auditing (FGA)
by granting a secure application role to the users
by implementing the Database Resource Manager plan
第20题:
Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the whole thingas a JAR file, and place that JAR file in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the whole thing as a JAR file, and place that JAR file in your webapp’slibrary directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.
第21题:
The user must have been granted the DBA role.
The user must have been granted the switch privilege as a part of a role.
The user must have been granted the Resource Manager administrator privilege.
The user must have been granted the switch privilege by using the DBMS_RESOURCE_MANAGER_PRIVS package.
第22题:
Getcreationtime
Invalidateafter
Getlastaccessedtime
Getmaxinactiveinterval
第23题:
getCreationTime
invalidateAfter
getLastAccessedTime
getMaxInactiveInterval