From:             fatih at muzikkutusu dot com
Operating system: mandrake linux
PHP version:      4.4.0
PHP Bug Type:     Session related
Bug description:  sessions does not saved

Description:
------------
I have compiled php in my mandrake linux, with apache 1.3.33. However when
i tried to work with session it does not save anything in $_SESSION. 

My configuration :
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.use_trans_sid = 0

This lines of code does not work, everytime ir prints "cookie was set"

session_start();
if(!isset($_SESSION['test'])) 
{
    $_SESSION['test'] = 'test';
    echo '<a href="'.$_SERVER['PHP_SELF'].'">cookie was set</a>';
}
else
{
    echo $_SESSION['test'];
    echo session_id();
}


There must be an error with the session functions..


-- 
Edit bug report at http://bugs.php.net/?id=33776&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33776&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33776&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33776&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33776&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33776&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33776&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33776&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33776&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33776&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33776&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33776&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33776&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33776&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33776&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33776&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33776&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33776&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33776&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33776&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33776&r=mysqlcfg

Reply via email to