ID: 16417 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Session related Operating System: WinXP/Win2K PHP Version: 4.1.1 New Comment:
No, it causes the same problem. I've tried it on Win2K/4.1.2, Win2K/4.2.0RC1 now too. I don't see how you can reset the session_id after calling session start anyway. When session_start() is called, the SID constant is set, cookie sent to the client etc. You must have to set a custom session_id before this happens. Previous Comments: ------------------------------------------------------------------------ [2002-04-04 04:11:55] [EMAIL PROTECTED] 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? ------------------------------------------------------------------------ [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