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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 05:05:53 2022 UTC