Created
August 16, 2014 08:09
-
-
Save Flyingmana/c3129a9e8aaafa728719 to your computer and use it in GitHub Desktop.
session_regenerate_test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$debug = array(); | |
$debug[] = session_start(); | |
$debug[] = session_id(); | |
$debug[] = session_regenerate_id(); | |
$debug[] = session_id(); | |
var_dump($debug,$_SESSION); | |
$_SESSION['hi'] = 'hello world'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment