Update session.php

Remove cookie option from factory