summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-10-21 11:09:50 +0200
committerTimothy Warren <tim@timshomepage.net>2011-10-21 11:09:50 +0200
commitfb53330ca179c201912b4517f4bdbdde4b2c095a (patch)
tree595e0d34c89811155eb45a9e558836b54c9dd509
parentda21ef5ca8c39590fbad2e66fabc8abc7b976d3f (diff)
Revert "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."
-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 89c64fd70..ef32f5d71 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(255) NOT NULL,
+ user_agent varchar(120) NOT NULL,
last_activity int(10) unsigned DEFAULT 0 NOT NULL,
user_data text NOT NULL,
PRIMARY KEY (session_id),