ID:               16417
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: WinXP/Win2K
 PHP Version:      4.1.1
 New Comment:

Maybe you have to call session_id AFTER session_start()?
This is what the docs say:
"session_id() returns the session id for the current session. If id is
specified, it will replace the current session id."
If the session hasn't been started yet, there's no session id to
replace.
Does it work now?


Previous Comments:
------------------------------------------------------------------------

[2002-04-04 02:58:30] [EMAIL PROTECTED]

How do you know I don't have a reason to change the session id? :-)

Why claim to provide the functionality, then refuse to support it?

I *do* need to change the session id. It is unavoidable.

------------------------------------------------------------------------

[2002-04-04 00:03:55] [EMAIL PROTECTED]

You really don't have any reason to change the session id.

------------------------------------------------------------------------

[2002-04-03 18:10:21] [EMAIL PROTECTED]

Using my own session id doesn't appear to work

<?php
session_id('mysess_'.md5(microtime()));
session_start();
?>

Causes Apache (1.3.22) to crash on Win2K/4.1.1 and produces "Warning:
Failed to write session data (files). Please verify that the current
setting of session.save_path is correct (c:\\windows\\temp) in Unknown
on line 0" on WinXP/4.2.0RC1

Without calling changing the session id, there are no problems


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16417&edit=1

Reply via email to