Simple and effective library for manage php session with '0% Depenance'.
To initiating the session if not already initiated and will return the session id.
Session::init(); // Initiating the session and return session id.
To create a new session item or update the existing session item by the given key with value.
Session::set('name','Shankar Thiyagaraajan'); // Set or update the item "name" to the session.
To get an item from the session with the "$key". if item is not exist, then it will return the "$defaul" value.
Session::get('name','No Name'); // Return the session item "name". If item is not exist then return "No Name".
To remove an item from the session with the "$key".
Session::remove('name'); // Remove an item from the session.