Sorry, but I did not understand exactly how to do that.

In case it is useful, I did a video where you can see how the session is created before anything else. If not, could you explain me exactly what to do, please? Thanks!

Video - Step by Step and the premature creation of the session.