#22186 [Opn->Bgs]: php writes the session but cant be read
| From: | sniper@php.net | Date: | Fri, 14 Feb 2003 01:03:43 +0000 |
| Subject: | #22186 [Opn->Bgs]: php writes the session but cant be read | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33113@lists.php.net to get a copy of this message | ||
ID: 22186
Updated by: sniper@php.net
Reported By: cetan@szm.sk
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: win xp prof
PHP Version: 4.3.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.
Thank you for your interest in PHP.
Support questions are better asked on php-general@lists.php.net
Previous Comments:
------------------------------------------------------------------------
[2003-02-12 07:38:48] cetan@szm.sk
My problem is in session.
After session_register and assign value
was createted session file with this
ook|i:5;lp|s:2:"10";
but in second test page I want read from session
and variables are empty and there is no answer
on
echo session_is_registered("ook");
This script show you where bug is ...
#####
first test script
<?
session_start();
echo session_register("ook") ;
$ook=5;
echo session_register("lp") ;
$lp="10";
?>
<a href="ook1.php">ook 1</a>
#####
second test script
####
<?
session_start();
echo session_is_registered("ook") ;
echo $ook;
echo session_is_registered("lp") ;
echo $lp;
echo $_session['lp'];
echo $HTTP_SESSION_VARS['lp'];
?>
<a href="ook.php">ook</a>
####
second test page answer is only link and no values
in php.ini is
session.save_handler = files
session.save_path = /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 = 1
session.gc_dividend = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"
I am runing on Apache 2.0.44
Thanx
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22186&edit=1