summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/sessions.rst
diff options
context:
space:
mode:
authorShealan Forshaw <shealan@plasticated.com>2011-10-17 14:40:38 +0200
committerShealan Forshaw <shealan@plasticated.com>2011-10-17 14:40:38 +0200
commitf7a01fc4522ab7370b9a3c45b5c41b0c545550f9 (patch)
treef402533b0eb87550e9e4f12c369b2e2619b6dbd9 /user_guide_src/source/libraries/sessions.rst
parent0cd4d6092f7591374ff22125430254da8b6e3bf1 (diff)
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.
Diffstat (limited to 'user_guide_src/source/libraries/sessions.rst')
-rw-r--r--user_guide_src/source/libraries/sessions.rst2
1 files changed, 1 insertions, 1 deletions
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),