ID: 36111 Updated by: [EMAIL PROTECTED] Reported By: brian dot feaver at sellingsource dot com -Status: Open +Status: Bogus Bug Type: Session related Operating System: Gentoo PHP Version: 4.4.2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Cookie is not set if the id is acquired elsewhere. RTFM. Previous Comments: ------------------------------------------------------------------------ [2006-01-20 23:18:15] brian dot feaver at sellingsource dot com Description: ------------ When setting PHPSESSID in the URL the session cookie is not being set. Config Settings: session.use_trans_sid = 0 (also tried it on) session.use_cookies = 1 session.use_only_cookies = 0 Tried this on version 4.4.2, 4.3.3, and 5.0.4. 4.3.3 and 5.0.4 set the cookie, 4.4.2 does not. Reproduce code: --------------- <?php session_start(); ?> <html> <body> <p>Session ID: <?php echo session_id(); ?></p> </body> </html> Expected result: ---------------- Using something like: www.example.com/?PHPSESSID=foo I would expect it to set a session cookie PHPSESSID with a value of foo. Actual result: -------------- No session cookie was created. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36111&edit=1
