ID: 16417 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Closed Bug Type: Session related Operating System: WinXP/Win2K PHP Version: 4.1.1 New Comment:
It's in fact a documentation problem, which is fixed now (will show up in a few days in the manual). Additionally I've added an E_WARNING message if the file session handler encounters an invalid session id. Previous Comments: ------------------------------------------------------------------------ [2002-04-04 19:18:13] [EMAIL PROTECTED] In mod_files.c, starting at line 61 is function called ps_files_valid_key() which checks the key for invalid characters. It only allows a-z, A-Z and 0-9 chars. ------------------------------------------------------------------------ [2002-04-04 12:51:04] [EMAIL PROTECTED] It should not matter if you use an underscore. Reopening. Derick ------------------------------------------------------------------------ [2002-04-04 12:29:33] [EMAIL PROTECTED] Aha! It appears that it is the underscore causing the problem. ------------------------------------------------------------------------ [2002-04-04 04:20:48] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16417 -- Edit this bug report at http://bugs.php.net/?id=16417&edit=1