58576e3daea8a543d2f46a95d0fc10cf75514859
[yaffs-website] / vendor / behat / mink-browserkit-driver / tests / web-fixtures / session_test.php
1 <?php
2 $session = $app['request']->getSession();
3
4 if ($app['request']->query->has('login')) {
5     $session->migrate();
6 }
7 ?>
8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
10 <head>
11     <title>Session Test</title>
12     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
13     <script>
14     </script>
15 </head>
16 <body>
17     <div id="session-id"><?php echo $session->getId() ?></div>
18 </body>
19 </html>