2015/09/07

PHP Session


<?php
 //啟動Session
 session_start();

 //清除Session
 session_destroy();

 //清除變動並結束Session
 session_abort();

 //設定值
 $_SESSION['a'] = 'a';
 $_SESSION['b'] = 'b';
?>