php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3523 Session works different with and HREF vs Action
Submitted: 2000-02-17 18:43 UTC Modified: 2000-07-25 21:14 UTC
From: scott at yunau dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Beta 3 OS: SUN 2.7 / Apache 1.3.11
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scott at yunau dot com
New email:
PHP Version: OS:

 

 [2000-02-17 18:43 UTC] scott at yunau dot com
	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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 21:14 UTC] zak@php.net
Sessions have been modified many times since this bug posting. Please try using a recent release of PHP.  If the bug still occurs, please submit a new bug report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 19:01:31 2025 UTC