PHP code example of wenprise / session-manager
1. Go to this page and download the library: Download wenprise/session-manager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wenprise / session-manager example snippets
add_action('plugins_loaded', fucntion(){
new \Wenprise\SessionManager\Init();
});
$_SESSION['example_key'] = 'ABC123';
print_r($_SESSION['example_key']); // will print "ABC123"