php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30422 session.use_trans_id = 0 ignored on first call ...
Submitted: 2004-10-13 16:24 UTC Modified: 2005-02-01 19:27 UTC
From: stephan dot skusa at lippe-net dot de Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.10 OS: LINUX
Private report: No CVE-ID: None
 [2004-10-13 16:24 UTC] stephan dot skusa at lippe-net dot de
Description:
------------
ini_set("session.use_trans_sid", 0) seems to be ignored on first call.

Reproduce code:
---------------
<?php

ini_set("session.use_trans_sid", 0);
ini_set("session.use_cookies", 1);
session_name("s");
session_start();


?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	 	<title>Session-Testing</title>
	</head>
	<body>
		<a href="index.php">Test</a>
	</body>
</html>

Expected result:
----------------
The session-id should not be added after "index.php".

Actual result:
--------------
On the first call of the script it is added ... on the second call it is not ... !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-13 12:35 UTC] stephan dot skusa at lippe-net dot de
Nope ... "PHP Version 4.3.10RC3-dev" shows the same behaviour ... i'm sorry ...
 [2005-02-01 19:27 UTC] sniper@php.net
See bug #24693 (it works only in PHP5..)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 21:01:26 2024 UTC