RE: [PHP] Simple Session problem
| From: | Dave Watkinson | Date: | Wed, 17 Oct 2001 07:51:15 +0000 |
| Subject: | RE: [PHP] Simple Session problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71306@lists.php.net to get a copy of this message | ||
session_start() must be the VERY FIRST line of your code, after the <?
of course ;-)
-----Original Message-----
From: De Necker Henri [mailto:deNeckerH@ford.co.za]
Sent: 17 October 2001 09:05
To: PHP-General (E-mail)
Subject: [PHP] Simple Session problem
Hi all
How do u begin a session without any problems???
Where must session be registert in an html page?
This is my simple code that im using and its giving me this error ->
//session_start();
$arr = 4;
session_register("arr");
session_start();
Warning: open(/tmp\sess_e4a8120f606dd307f29530bd5ff38f6e, O_RDWR)
failed: m
(2) in c:/program files/merlin
desktop/apache/htdocs/r_employee_total.php on
line 4
I
--
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