Here is the schema you need to set up database session storage.
CREATE TABLE `session` ( `sess_id` varchar(32) NOT NULL, `sess_data` text NOT NULL, `sess_time` int(11) NOT NULL );
Why int(11) for sess_time? afaik the unix-time is int(10)
Shouldn't sess_id be at least unique index?
Comments on this snippet
Why int(11) for sess_time? afaik the unix-time is int(10)
Shouldn't sess_id be at least unique index?