def METHOD_NAME(cls, request, save_new=True, user=None):
    'Retrieve the SessionInfo for this request, if it has an active session.'
    if hasattr(request, 'session_info') and request.session_info is not None:
        # already have it.
        return request.session_info
    if request.session.session_key is None:
        # no session: no point in looking.
        request.session_info = None
    else:
        try:
            si = cls.for_sessionstore(request.session, save_new=save_new)
        except (Session.DoesNotExist):
            request.session_info = None
            return
        request.session_info = si
    return request.session_info