note 89193 deleted from book.session by danbrown
| From: | danbrown@php.net | Date: | Thu, 26 Feb 2009 02:30:20 +0000 |
| Subject: | note 89193 deleted from book.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151141@lists.php.net to get a copy of this message | ||
Note Submitter: John Walker
----
This is a caution to those attempting to use session features for the first time. The documentation
might lead one to believe that sessions are relatively easy to implement; they probably are...once
you have succeeded once. However, the notes below should be a warning that the documentation is
definitely "lite" on key details to get you over that first hurdle. I still haven't
managed to keep sessions working (I had them working last night but it stopped working this morning)
after 3 days of trying, and I have 10 years of experience with PHP. Be very clear what triggers
sending of headers (because that will mess you up) and where $_SESSION becomes unavailable (see
below).