Libraries anvil net Request getSession

Session getSession()
Session getSession(boolean create)
Returns the current session associated with this request. Session returned by this method is independent from Anvil's session handling mechanism as it is provided by enclosing servlet container.
Parameters create -  If true and there is no session, returns a new session