Signup/Sign In

Session Management Test

This Test will cover Session management in Servlet and Various technique.
Q. If the client has disabled cookie in the browser, which session management mechanism could the web container employ ?
Which statement about HttpSession is not true?

Q. Given request is an HttpServletRequest, which code snippets will creates a session if one doesn't exist?
Q. Which method is used access the cookies that are added to response object?
Q. Which method is used to get the parameter value from request object?
Q. Which statement is true for request.getSession(true) method?
Q Which method returns a string containing the unique session id?

Q. Cookies are stored on _______ side.
Q. Which method is used to delete a session?
Q. Which method returns the time when the session was created?

Related Tests: