From:             bestmischmaker at web dot de
Operating system: windows2000sp4
PHP version:      4.3.3RC2
PHP Bug Type:     Session related
Bug description:  session_start() does not set session id cookie !!!

Description:
------------
Hy...

i have try to use session as file version...it should set the PHPSESSID as
COOKIE, but it doesn't do this...

if have use this with any other php version befor and it runs fine...

if have check my php.ini
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID

so the session will started but the cookie will not set !!!

OS: Win32 (w2k_sp4)
Apache 2.0.46 / php4.3.3RC2

hope i could help :)
cya

Reproduce code:
---------------
<?php
// "private" , "public" , "nocache" , "private_no_expire"
session_cache_limiter( private_no_expire );
// Browser Cache Time
session_cache_expire( 0 );
session_set_cookie_params( 0 , "/" , "intranet" , FALSE );
session_start();
var_dump($_COOKIE);
?>


Expected result:
----------------
Result should be:

$_COOKIE["PHPSESSID"] = "34grgerjheqwgr76226453828";



Actual result:
--------------
is nothing !!!

-- 
Edit bug report at http://bugs.php.net/?id=24923&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24923&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24923&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24923&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24923&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24923&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24923&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24923&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24923&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24923&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24923&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24923&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24923&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24923&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24923&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24923&r=gnused

Reply via email to