This line in your php.ini;
==========================
session.save_path = /tmp
but don't found directory "/tmp" on Win98.
change this line same below and try again.
==========================
session.save_path = c:\your_temp_dir
P.S.: Directory "c:\your_temp_dir" is has write access.
Ruben wrote:
Hi everyone.
I'm using php4.0 runing under win98 and the session functions don't work i don't know why.
I'm writing a test script called teste.php
<?php
session_start();
$my_session_variable = "some value";
session_register( "my_session_variable");
?>
When i start IE5.5 browser to run the script appears a error message :
"The page cannot be displayed"
what could go wrong is it php.ini not configured correctly or is it the browser.
Here is a sample of my php.ini.
[Session]
session.save_handler = files ; handler used to store/retrieve data
session.save_path = /tmp ; 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 co....