This is the original vbulletin 3.01 table structure for session
PHP Code:
CREATE TABLE `session` (
`sessionhash` varchar(32) NOT NULL default '',
`userid` int(10) unsigned NOT NULL default '0',
`host` varchar(15) NOT NULL default '',
`useragent` varchar(100) NOT NULL default '',
`lastactivity` int(10) unsigned NOT NULL default '0',
`location` varchar(255) NOT NULL default '',
`styleid` smallint(5) unsigned NOT NULL default '0',
`badlocation` smallint(5) unsigned NOT NULL default '0',
`inforum` smallint(5) unsigned NOT NULL default '0',
`inthread` int(10) unsigned NOT NULL default '0',
`incalendar` int(10) unsigned NOT NULL default '0',
`loggedin` smallint(5) unsigned NOT NULL default '0',
`idhash` varchar(32) NOT NULL default '',
`bypass` smallint(6) NOT NULL default '0',
PRIMARY KEY (`sessionhash`)
) TYPE=HEAP;