Sessions

From: Date: Mon, 10 Jan 2000 19:45:21 +0000
Subject: Sessions
Groups: php.general 
Request: Send a blank email to php-general+get-33750@lists.php.net to get a copy of this message
Hello does anyone know why I get this error when I use this code? I copied straight from the PHP.net manual: --------------------- CODE --------------------- <?php session_register ("count"); $count++; ?> Hello visitor, you have seen this page <?php echo $count; ?> times.<p> <php? # the <?=SID?> is necessary to preserve the session id # in the case that the user has disabled cookies ?> --------------------- ERROR --------------------- Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed: m (2) in C:\Apache\htdocs\br\test.php on line 2 Hello visitor, you have seen this page 1 times. Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com --------------------------------------------

« previous php.general (#33750) next »