void setSessionManager(SessionManager sessionManager) {
        this.sessionManager = sessionManager;
    }
Sets the session manager to use when checking to see if session storage is possible.

@param sessionManager the session manager instance for checking.
@since 1.2.1
web/src/main/java/org/apache/shiro/web/mgt/DefaultWebSessionStorageEvaluator.java