note 64755 deleted from ref.session by bjori
| From: | bjori@php.net | Date: | Thu, 20 Apr 2006 09:53:05 +0000 |
| Subject: | note 64755 deleted from ref.session by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108783@lists.php.net to get a copy of this message | ||
Note Submitter: simralias(at)mac.com
Reason: in docs
----
WHY THE SERVER DOESN'T SEND A COOKIE?
i developed a cms wich uses sessions to preserve page and login data.
as i use the same system for several customers, a config.php file
is included at the beginning of the script.
unfortunately, the php-closer "?>" in the included file was on the
second-last row. my testserver ingnored it, while the empty row
forced the liveserver to send the header to the client, therefore
the session cookie could not be sneded anymore.
took me three (!) days to solve. i think it's worth sharing, isn't it?
yep, *sim