Answers for "session regenerate id after function"

PHP
0

php session regenerate id

<?php
session_start();

$old_sessionid = session_id();

session_regenerate_id();

$new_sessionid = session_id();

echo "Old Session: $old_sessionid<br />";
echo "New Session: $new_sessionid<br />";
?>
Posted by: Guest on May-05-2020

Code answers related to "session regenerate id after function"

Browse Popular Code Answers by Language