Okay... I have been through most of the posts that deal with session_set_save_handler... but most of them deal with a problem after the fact...
I can't even get the lousy thing to work. Here's some (not all) the code I'm working with:
session_register("sess_webstore_cart");
$smn = ini_alter("session.save_handler","user");
session_module_name("user");
session_set_save_handler (
"on_session_start", "on_session_end",
"on_session_read", "on_session_write",
"on_session_destroy", "on_session_gc"
);
session_start();
When this code executes... nothing happens, PHP just hangs. If I comment the ini_alter() line, then I get this error:
Warning: Failed to write session data (user). Please verify that the current setting of session.save_path is correct
versions:
php 4.1.1
os: win2k srv sp2
web: apache 1.13.22
thanks for any help!