From:             ermannov at netscape dot net
Operating system: Windows NT 4
PHP version:      4CVS-2003-03-11 (stable)
PHP Bug Type:     Session related
Bug description:  mm save_handler does not work

I made two scripts, first one has got a link to second one.
If session.save_handler=mm, on Page 2 I can see $_SESSION is null. The
scripts work when session.save_handler=files.
It also happens with Windows 98 SE.

pag1.php
<?php
session_start();
$_SESSION['variable']=1;
?>
<html>
<head>
<title>
Page 1
</title>
</head>
<body>
<?php
var_dump($_SESSION);
?>
<a href="pag2.php">Page 2</a>
</body>
</html>

pag2.php
<?php
session_start();
?>
<html>
<head>
<title>
Page 2
</title>
</head>
<body>
<?php
var_dump($_SESSION);
?>
</body>
</html>

Modules:
extension=php_cpdf.dll
extension=php_dbx.dll
extension=php_exif.dll
extension=php_java.dll
extension=php_mhash.dll
extension=php_mssql.dll
extension=php_openssl.dll
extension=php_pdf.dll
extension=php_mcrypt.dll

Session configuration:
session.save_handler      = mm
session.save_path         = "c:/temp"
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    = 5       
session.gc_maxlifetime    = 600    
session.referer_check     =         
session.entropy_length    = 0       
session.entropy_file      =         
session.cache_limiter     = nocache 
session.cache_expire      = 180     
session.use_trans_sid     = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
-- 
Edit bug report at http://bugs.php.net/?id=22633&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22633&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22633&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22633&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22633&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22633&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22633&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22633&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22633&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22633&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22633&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22633&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22633&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22633&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22633&r=gnused

Reply via email to