note 13471 added to function.session-start.php
| From: | admin at vazy dot com | Date: | Mon, 18 Jun 2001 13:29:06 +0000 |
| Subject: | note 13471 added to function.session-start.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14258@lists.php.net to get a copy of this message | ||
I was getting the 'headers already sent warning' alot as well, and used @session_start()
to depress the warnings. Then I put session_start() in front of the <HTML> tag without the
'@' and it works fine now. I only call session_destory() at logout, and session_start() on
each page. Seems to work fine. Does anyone see any problem with this? Thanks! -Vazy
http://www.php.net/manual/en/function.session-start.php