correct session configuration