dataset/seed/php/DEBUG.md
2022-07-01 22:10:33 +02:00

14 lines
249 B
Markdown

Test une session avec redis
============================
<?php
session_id('jlnp3nfrq92ffquipn4534ojbe');
session_start();
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
} else {
$_SESSION['count']++;
}
print($_SESSION['count']);
?>