Skip to content

Commit 68c5cce

Browse files
committed
Changed max. length for session hash keys from 32 chars to 64 chars in the mysql database.
1 parent bcb8eb9 commit 68c5cce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `sys_session` CHANGE `session_id` `session_id` VARCHAR( 64 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ CREATE TABLE `sys_remoteaction` (
13751375
--
13761376

13771377
CREATE TABLE `sys_session` (
1378-
`session_id` varchar(32) NOT NULL DEFAULT '',
1378+
`session_id` varchar(64) NOT NULL DEFAULT '',
13791379
`date_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
13801380
`last_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
13811381
`session_data` longtext,

0 commit comments

Comments
 (0)