RE: [PHP] Sessions Question
| From: | Ford, Mike [LSS] | Date: | Wed, 15 Oct 2003 12:01:18 +0000 |
| Subject: | RE: [PHP] Sessions Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166198@lists.php.net to get a copy of this message | ||
On 15 October 2003 01:31, Mike Brum contributed these pearls of wisdom:
> One quick note - if you're starting a session then you can't
> user the header() function afterwards. You'll get the lovel
> "headers
> already sent"
> error.
Actually, so long as you do both *before* outputting any actual page content, it shouldn't
matter which order you do them in.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211