PHP 4.0 Bug #2450: use session variable values after form method=post
| From: | henri dot cujass at leolo dot com | Date: | Wed, 06 Oct 1999 07:55:54 +0000 |
| Subject: | PHP 4.0 Bug #2450: use session variable values after form method=post | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11564@lists.php.net to get a copy of this message | ||
From: henri.cujass@leolo.com
Operating system: Sun Solaris 2.7
PHP version: 4.0 Beta 2
PHP Bug Type: Misbehaving function
Bug description: use session variable values after form method=post
The problem is that the session_register is _stronger_ than the post method.
When I start a session and register a variable and give a value
to this variable, then the form post will not override the original value.
Solaris 2.6/2.7 Apache/mod_php
php.ini:
[Session]
session.save_handler = files
session.save_path = /tmp
session.name = PHPSESSID
session.auto_start = 0
session.lifetime = 0
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440