Super user session tracker with PHP, mySql and Cookies .

Description: It works like this .
It creates an id for every user that visits the site .
It sets a cookie for him .
The cookie contains the unique id that is a row in a table .
Expired users are automatically remove from db .
$Tracker=new UserTracker();
$Tracker->setVar("name","value");
$Tracker->getVar("name");
$Tracker->delVar("name");
//initiate mysql connection before using this . it creates table if missing .
you can keep login count , user status , informations , online users , ... , anything .