[feature/session-storage] Changes to session.php

PHPBB3-9733