#30422 [Opn->Fbk]: session.use_trans_id = 0 ignored on first call ...

From: Date: Sun, 12 Dec 2004 00:46:12 +0000
Subject: #30422 [Opn->Fbk]: session.use_trans_id = 0 ignored on first call ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70055@lists.php.net to get a copy of this message
 ID:               30422
 Updated by:       sniper@php.net
 Reported By:      stephan dot skusa at lippe-net dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: LINUX
 PHP Version:      4.3.9
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2004-10-13 16:24:51] 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 ... !


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30422&edit=1


Thread (4 messages)

« previous php.bugs (#70055) next »