xref: /php-src/ext/session/tests/bug71974.phpt (revision c5bce0d8)
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--
8display_startup_errors=0
9session.save_handler=files
10session.auto_start=0
11session.use_cookies=1
12session.use_only_cookies=0
13session.use_trans_sid=1
14session.use_strict_mode=0
15--COOKIE--
16PHPSESSID=1234567890123456789012345678901234567890
17--FILE--
18<?php
19ob_start();
20session_start()
21?>
22<a href="some.php">abc</a>
23--EXPECT--
24<a href="some.php">abc</a>
25