session had already been started
Brought to you by:
nhruby,
richardarcher
file: session4.inc
line: 171
As of PHP 4.3.3, calling session_start() while the session
has already been started will result in an error of level
E_NOTICE.
My simple solution:
if (session_id() == '') {
$ok = session_start();
} else { $ok = ''; }
$this->id = session_id();