summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/sessions.rst
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-10-17 14:41:45 +0200
committerEric Barnes <eric@ericlbarnes.com>2011-10-17 14:41:45 +0200
commit43ded090371c42e99b0f104de62cc284fd332c4e (patch)
treef402533b0eb87550e9e4f12c369b2e2619b6dbd9 /user_guide_src/source/libraries/sessions.rst
parent0cd4d6092f7591374ff22125430254da8b6e3bf1 (diff)
parentf7a01fc4522ab7370b9a3c45b5c41b0c545550f9 (diff)
Merge pull request #587 from plasticated/patch-1
Changed session table user_agent field to 255 to accomodate long strings
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),