note 42699 added to ref.session
| From: | rkcharest at eastlink dot ca | Date: | Wed, 26 May 2004 16:20:57 +0000 |
| Subject: | note 42699 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70128@lists.php.net to get a copy of this message | ||
This might sound very simple and common sense, but I'm learning from scratch and found a
hurdle.
When you prepare your file for a session, make sure there are no characters before your first
opening bracket( <% )
_____________________
<%php
Session_start();
%>
....
_____________________
not a space, not a chr(13) (enter) NOTHING
your preprocessor may report that your session was allready in progress and you'll get all
kinds of pretty error codes.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42699
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42699&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42699&report=yes
Search -- http://master.php.net/manage/user-notes.php