RE: [PHP] Simple Session problem
| From: | De Necker Henri | Date: | Wed, 17 Oct 2001 08:29:03 +0000 |
| Subject: | RE: [PHP] Simple Session problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71311@lists.php.net to get a copy of this message | ||
Well i did move the session_start() above the session_register() but the
warning has only moved to the session_strat() line.
Is there any specific way to do sessions???
my hole page looks now like this:
<?
session_start();
session_register("arr");
$arr = 4;
?>
-----Original Message-----
From: De Necker Henri [mailto:deNeckerH@ford.co.za]
Sent: 17 October 2001 10: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