Don't create a session unless SESSION_CLASS is defined.