Skip to content

Instantly share code, notes, and snippets.

@Flyingmana
Created August 16, 2014 08:09
Show Gist options
  • Save Flyingmana/c3129a9e8aaafa728719 to your computer and use it in GitHub Desktop.
Save Flyingmana/c3129a9e8aaafa728719 to your computer and use it in GitHub Desktop.
session_regenerate_test
<?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