From f7a01fc4522ab7370b9a3c45b5c41b0c545550f9 Mon Sep 17 00:00:00 2001 From: Shealan Forshaw Date: Mon, 17 Oct 2011 14:40:38 +0200 Subject: Changed session table user_agent field to 255 to accomodate long agent strings. Truncation of this data would cause the session to not match when the "sess_match_useragent" config option was set to TRUE. --- user_guide_src/source/libraries/sessions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide_src') diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index ef32f5d71..89c64fd70 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -242,7 +242,7 @@ session class:: CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(16) DEFAULT '0' NOT NULL, - user_agent varchar(120) NOT NULL, + user_agent varchar(255) NOT NULL, last_activity int(10) unsigned DEFAULT 0 NOT NULL, user_data text NOT NULL, PRIMARY KEY (session_id), -- cgit v1.2.3-24-g4f1b