note 67520 deleted from ref.session by bjori
| From: | bjori@php.net | Date: | Thu, 08 Jun 2006 16:57:38 +0000 |
| Subject: | note 67520 deleted from ref.session by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-113862@lists.php.net to get a copy of this message | ||
Note Submitter: admin at mxtracks dot us
Reason: bad code
----
<?php if (!isset ($_SESSION)) session_start(); ?>
that method for not duplicating session_start() will not work.
$_SESSION is always set no matter if a session has been started or not