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