ID:               24923
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bestmischmaker at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: windows2000sp4
 PHP Version:      4.3.3RC2
 New Comment:

1. There is no such constant as private_no_expire (it's a string, you
need to have quotes around it)
2. Use valid domain in the 3rd parameter for
session_set_cookie_params() call. See http://www.php.net/setcookie for
detailed explanation for the  domain in cookies.



Previous Comments:
------------------------------------------------------------------------

[2003-08-03 09:40:43] bestmischmaker at web dot de

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 this bug report at http://bugs.php.net/?id=24923&edit=1

Reply via email to