I have tried to disable cookies and got strange behavior of PHP 4.0.6.

So, I use php4.0.6 in default redhat installation. My code:

ini_set('session.use_cookies', FALSE);
ini_set('session.use_trans_sid', TRUE);
ini_set('session.save_handler', 'user');

Then I set my own session handlers and start session.

session_set_save_handler("FJ_S_open", "FJ_S_close", "FJ_S_read", "FJ_S_write", 
"FJ_S_destroy", "FJ_S_gc");

TRANS SID feature doesnt working, but constant SID set
correctly (PHPSESSID=...). If I write SID in links and forms
manually, all works fine.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to