<?php
require_once 'classes/MkSession.php'; $session_class = new MkSession; session_set_save_handler(array(&$session_class, 'open'), array(&$session_class, 'close'), array(&$session_class, 'read'), array(&$session_class, 'write'), array(&$session_class, 'destroy'), array(&$session_class, 'gc')); session_start();
$_SESSION['user_id']=1; ?> <a href="destroy_session.php">Destroy</a>
|