When no call to session is made prior construct new PhpCaptcha() no session exists because no session_start() function have been called.