php session operations

February 26th, 2010 by xrigher Leave a reply »

* get session id: session_id(), but remember to session_start() before getting the id.

* session_decode($data), this will decode the data and store them into $_SESSION.

reference: http://www.php.net/manual/en/ref.session.php

Advertisement

Leave a Reply