PHP code example of lsys / session

1. Go to this page and download the library: Download lsys/session 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/ */

    

lsys / session example snippets


$sess=\LSYS\Session\DI::get()->session();
echo $sess->get("aa");
$sess->set("aa", "aaa");