RE: [PHP] Can you declare session_start() .... inside a function?
| From: | Maxim Maletsky | Date: | Mon, 18 Dec 2000 08:41:15 +0000 |
| Subject: | RE: [PHP] Can you declare session_start() .... inside a function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30843@lists.php.net to get a copy of this message | ||
I think so, however the function you have session_start should NOT be then
called after headers are sent, or in other words: no output at all, nor even
a blank space or new line.
Cheers,
Maxim Maletsky
-----Original Message-----
From: Blake Miller [mailto:blakeage@hotmail.com]
Sent: Monday, December 18, 2000 2:39 PM
To: php-general@lists.php.net
Subject: [PHP] Can you declare session_start() .... inside a function?
Can you declare session_start() .... inside a function?
Thanks,
blake
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net