<?php require __DIR__.'/common.inc'; session_set_save_handler(new TestSessionHandler('abc|i:123;'), false); session_start(); setcookie('abc', 'def');
info at phpclasses dot org