Request.hasSession

Whether the request contains a HttpSession object.

This method does not give any information about the state of the session object, like whether the session is started or not. It is just a way to check if this Request is associated with a HttpSession instance.

@return bool true when the Request contains a HttpSession object, false otherwise

class Request
bool
hasSession
()

Meta