summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug71974.phpt
blob: d9c30ec2a56ad7c9bb500772f4ac6e6ef90cee61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Bug #71974 Trans sid will always be send, even if cookies are available
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
session.save_handler=files
session.auto_start=0
session.use_cookies=1
session.use_only_cookies=0
session.use_trans_sid=1
session.use_strict_mode=0
--COOKIE--
PHPSESSID=1234567890123456789012345678901234567890
--FILE--
<?php
ob_start();
session_start()
?>
<a href="some.php">abc</a>
--EXPECTF--
<a href="some.php">abc</a>