Re: Plz help to solve my problem.

From: Date: Tue, 17 Dec 2002 08:19:52 +0000
Subject: Re: Plz help to solve my problem.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128525@lists.php.net to get a copy of this message
Please verify that the current setting ( in php.ini ) of session.save_path is correct (/tmp): You must have a folder as indicated in php.ini. Tros "Elaine Kwek" <shkwek@imagnia.com.my> wrote in message news:PPENIFJJOPGNIHOCEEEGEEAPCAAA.shkwek@imagnia.com.my... > I am now trying to use php session control in my web application. i try to > copy a coding an test it...but it come out error. i not sure how to solve > it. Plz help me...I using Apache server. > > the code sample is like this: > > <? > > session_start(); > session_register("sess_var"); > > $sess_var = "Hello world!"; > > echo "The content of \$sess_var is $sess_var<br>"; > > ?> > > > And this is the result of the page: > > Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No > such file or directory (2) in c:\Program Files\Apache > Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3 > > The content of $sess_var is Hello world! > > Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No > such file or directory (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 > > > thanx to whom reply to me... > > Elaine Kwek >

« previous php.general (#128525) next »