RE: [PHP-WIN] PHP Sessions

From: Date: Mon, 20 May 2002 09:14:21 +0000
Subject: RE: [PHP-WIN] PHP Sessions
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-13868@lists.php.net to get a copy of this message
Find your php.ini file and change this line session.save_path = c:\winnt\temp or session.save_path = c:\windows\temp if you use W2k give all permission the temp dir for everyone... -----Original Message----- From: Ben [mailto:tall_benson@hotmail.com] Sent: Monday, May 20, 2002 6:40 AM To: php-windows@lists.php.net Subject: [PHP-WIN] PHP Sessions Hey, I am trying to work out PHP sessions, but are having some trouble at the first step. This code, which should be simplistic: <?php session_start(); print "your session id is: ".session_id(); ?> Results in this output: Warning: open(/tmp\sess_52be4d339fbffacf1efc495cf16ed383, O_RDWR) failed: m (2) in c:/documents/web/page1.php on line 2 your session id is: 52be4d339fbffacf1efc495cf16ed383 I am running windows. Is there some kind of configuration change I have to make to enable sessions or something? Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#13868) next »