READ Free Dumps For Oracle- 1z0-899
Question ID 4705 | Given an HttpServletRequest request: |
Option A | A. HttpSession session = request.getSession(); |
Option B | B. HttpSession session = request.getSession(id); |
Option C | C. HttpSession session = request.getSession(true); |
Option D | D. HttpSession session = request.getSession(false); |
Option E | E. HttpSession session = request.getSession(“jsessionid”); |
Correct Answer | A,C,D |
Question ID 4706 | As a convenience feature, your web pages include an Ajax request every five minutes to a special |
Option A | A. session.getMaxInactiveInterval(); |
Option B | B. session.getLastAccessed().getTime() – session.getCreationTime().getTime(); |
Option C | C. session.getLastAccessedTime().getTime() – session.getCreationTime().getTime(); |
Option D | D. session.getLastAccessed() - session.getCreationTime(); |
Option E | E. session.getMaxInactiveInterval() – session.getCreationTime(); |
Option F | F. session.getLastAccessedTime() – session.getCreationTime(); |
Correct Answer | F |