Need to add a session_status check to call session_start in the Constructor of the Session Class

Issue #3 resolved
Rotimi Adegbamigbe created an issue

The if block below should be added to the constructor of \Vespula\Auth\Session\Session before attempting to access $_SESSION.

if( session_status() !== PHP_SESSION_ACTIVE ) { 

Comments (2)

  1. Jon Elofson repo owner

    Sure. I was initially thinking of forcing the user to call session start on their own, but this will certainly work.

  2. Log in to comment