Sessions are initialized when you are processing the initial login. This will probably be on the page following the login screen.
Of course, you can initialize the same session earlier, but you only need to do this when you are actually starting to use the information on the backend.\
Best Wishes,
Chris Travers