/** * Returns the current HttpSession associated with this request or, if there is no current session * and create is true, returns a new session. * <br> * If create is false and the request has no valid HttpSession, this method returns null. **/ public HttpSession getSession( boolean create ) { _session = _context.getValidSession( getRequestedSessionId(), _session, create ); return _session; }
/** * Returns the current HttpSession associated with this request or, if there is no current session * and create is true, returns a new session. * <br> * If create is false and the request has no valid HttpSession, this method returns null. **/ public HttpSession getSession( boolean create ) { _session = _context.getValidSession( getRequestedSessionId(), _session, create ); return _session; }
/** * Returns the current HttpSession associated with this request or, if there is no current session * and create is true, returns a new session. * <br> * If create is false and the request has no valid HttpSession, this method returns null. **/ public HttpSession getSession( boolean create ) { _session = _context.getValidSession( getRequestedSessionId(), _session, create ); return _session; }