PHP 4.0 Bug #3523: Session works different with and HREF vs Action

From: Date: Thu, 17 Feb 2000 17:43:31 +0000
Subject: PHP 4.0 Bug #3523: Session works different with and HREF vs Action
Groups: php.dev 
Request: Send a blank email to php-dev+get-15646@lists.php.net to get a copy of this message
From: scott@yunau.com Operating system: SUN 2.7 / Apache 1.3.11 PHP version: 4.0 Beta 3 PHP Bug Type: Session related Bug description: Session works different with and HREF vs Action if ($PHPSESSID) session_start($PHPSESSID); else session_start(); session_register("VALID"); $VALID = "8761"; /* Works when I call this form and stores the session variables correctly */ /* This is the data from the /tmp session id VALID|s:4:"8761"; */ <FORM action="Next_Form.php<?$PHPSESSID?>" method=post> /* Same page doesn't work It doesn't store the variables at all */ <A href="http://localhost/Next_Form.php<?$PHPSESSID?>" name=Next_Form title=Add>Add</A></td

« previous php.dev (#15646) next »