ID:               33776
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fatih at muzikkutusu dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: mandrake linux
 PHP Version:      4.4.0
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




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

[2005-07-20 00:53:41] fatih at muzikkutusu dot com

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

Reply via email to