I don't know if it'll help but here my bit of the php.ini:
session.save_handler      = files   ; handler used to store/retrieve data
session.save_path         = C:\Programme\Apache
Group\Apache\cgi-bin\php4\sessiondata    ; argument passed to
save_handler
                                    ; in the case of files, this is the
                                    ; path where data files are stored
session.use_cookies       = 1       ; whether to use cookies
session.name              = PHPSESSID
                                    ; name of the session
                                    ; is used as cookie name
session.auto_start        = 0       ; initialize session on request startup
session.cookie_lifetime   = 0       ; lifetime in seconds of cookie
                                    ; or if 0, until browser is restarted

try this test-script:
<?
session_start();
session_register("SESSION");

if (! isset($SESSION)) {
        $SESSION["count"] = 0;
        echo "<li>Counter initialized, please reload this page to see it
increment";
} else {
        echo "<li>Waking up session $PHPSESSID";
        $SESSION["count"]++;
}
echo "<li>The counter is now $SESSION[count] ";
?>

johannes

"Jimmy Bäckström" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
007801c0859d$8ef1e0f0$554d59d5@broder">news:007801c0859d$8ef1e0f0$554d59d5@broder...
Yeah I used a path name with '\' instead of '/' but it still does not work.
Help!

"Johannes Janson" <[EMAIL PROTECTED]> wrote in message
94kpfm$4cc$[EMAIL PROTECTED]">news:94kpfm$4cc$[EMAIL PROTECTED]...
> you have to set the 'session.save_path' in your php.ini.
> be careful with the slashes you use. as you can see from
> the error msg by default it's '/' but windows uses '\'.
>
> good luck
> Johannes
>
>
> "Jimmy Bäckström" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> 001201c08564$f7398660$554d59d5@broder">news:001201c08564$f7398660$554d59d5@broder...
> Yo!
> I'm playing a little bit with sessions for the moment and I get a really
> scary errormessage:
>
> Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, O_RDWR) failed:
m
> (2) in h:\program\apache\htdocs/boa/sessionTest.php on line 5
>
> Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, 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
>
> I understand that there is a folder missing somewhere (tmp) and I tried to
> create one in the apache directory, but it still does not work. I'm using
> Win2k proffesional with an apache webserver and I don't have a clue what
> changes I should do to php.ini.
> Please help!
> /Broder B
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to