mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 19:42:54 +02:00
Improve security of sessions:
- use only cookies to store session id on client side - use default php session system with database handler to store sessions on server side git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -183,7 +183,7 @@ CREATE TABLE `phpwebgallery_rate` (
|
||||
DROP TABLE IF EXISTS `phpwebgallery_sessions`;
|
||||
CREATE TABLE `phpwebgallery_sessions` (
|
||||
`id` varchar(255) binary NOT NULL default '',
|
||||
`user_id` smallint(5) NOT NULL default '0',
|
||||
`data` text NOT NULL,
|
||||
`expiration` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
Reference in New Issue
Block a user