diff options
author | Timothy Warren <tim@timshomepage.net> | 2011-10-21 11:09:50 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2011-10-21 11:09:50 +0200 |
commit | fb53330ca179c201912b4517f4bdbdde4b2c095a (patch) | |
tree | 595e0d34c89811155eb45a9e558836b54c9dd509 /user_guide_src | |
parent | da21ef5ca8c39590fbad2e66fabc8abc7b976d3f (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."
This reverts commit f7a01fc4522ab7370b9a3c45b5c41b0c545550f9.
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/libraries/sessions.rst | 2 |
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), |