dataset/seed/php/DEBUG.md

15 lines
249 B
Markdown
Raw Normal View History

2022-04-28 21:48:16 +02:00
Test une session avec redis
============================
<?php
session_id('jlnp3nfrq92ffquipn4534ojbe');
session_start();
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
} else {
$_SESSION['count']++;
}
print($_SESSION['count']);
?>