#28434 [NEW]: stream_socket_get_name and stream_socket_accept
From: milan_mlynarcik at hotmail dot com Operating system: Linux PHP version: 5.0.0RC2 PHP Bug Type: Unknown/Other Function Bug description: stream_socket_get_name and stream_socket_accept Description: I've tried to setup tcp server. stream_socket_get_name returns and stream_socket_accept returns just IP address, port is missing. -- Edit bug report at http://bugs.php.net/?id=28434edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28434r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28434r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28434r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28434r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28434r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28434r=needscript Try newer version: http://bugs.php.net/fix.php?id=28434r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=28434r=support Expected behavior: http://bugs.php.net/fix.php?id=28434r=notwrong Not enough info:http://bugs.php.net/fix.php?id=28434r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=28434r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28434r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28434r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28434r=dst IIS Stability: http://bugs.php.net/fix.php?id=28434r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=28434r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28434r=float
#22396 [Bgs]: session id doesn't change when session_start is called multiple times
ID: 22396 User updated by: milan_mlynarcik at hotmail dot com Reported By: milan_mlynarcik at hotmail dot com Status: Bogus Bug Type: Session related Operating System: WinXP PHP Version: 4.3.0 New Comment: I don't use cookies...my session.use_cookies in php.ini is set to off. My answer is if session_start() called after session_destroy() should generate new session id or same one? Look at the code again to understnd what I mean. Previous Comments: [2003-02-25 02:31:15] [EMAIL PROTECTED] Of course it doesn't change..it's already set in the cookie. This is a feature actually.. [2003-02-24 12:39:12] [EMAIL PROTECTED] Confirming. Looks like sessions are started only once. This issue is even with session_write_close(). session_start() after any session-closing commands simply does not work. It would be better if it reloaded session (or created new, depending on was it destroyed or saved). It is a pain to redirect the page to self to get session data again. Hope it'll be fixed. Sometimes it is needed to unlock session/then access it again. [2003-02-24 11:34:42] milan_mlynarcik at hotmail dot com ?php session_start(); $sid1 = session_id(); session_unset(); session_destroy(); // ...and create new one session_start(); $sid2 = session_id(); if ($sid1 === $sid2) { print 'equals'; } else { print 'doesn\'t equal'; } ? This prints 'equals'...is it OK ? I think that session id should change between two different sessions... -- Edit this bug report at http://bugs.php.net/?id=22396edit=1
#22396 [NEW]: session id doesn't change when session_start is called multiple times
From: milan_mlynarcik at hotmail dot com Operating system: WinXP PHP version: 4.3.0 PHP Bug Type: Session related Bug description: session id doesn't change when session_start is called multiple times ?php session_start(); $sid1 = session_id(); session_unset(); session_destroy(); // ...and create new one session_start(); $sid2 = session_id(); if ($sid1 === $sid2) { print 'equals'; } else { print 'doesn\'t equal'; } ? This prints 'equals'...is it OK ? I think that session id should change between two different sessions... -- Edit bug report at http://bugs.php.net/?id=22396edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22396r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22396r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22396r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22396r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22396r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22396r=support Expected behavior: http://bugs.php.net/fix.php?id=22396r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22396r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22396r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22396r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22396r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22396r=dst IIS Stability: http://bugs.php.net/fix.php?id=22396r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22396r=gnused