Tuesday, February 5, 2013

How to modify or remove session on php

The php code demonstrates how to edit or remove individual session variables, or the entire session.
Here PHP Code :

 // you have to open the session to be able to modify or remove it 

// to change a variable, just overwrite it

//you can remove a single variable in the session

// or this would remove all the variables in the session, but not the session itself

// this would destroy the session variables
Disqus Comments