summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/sessions.html
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-04-20 18:36:45 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-04-20 18:36:45 +0200
commit50671cf8d67c805692fec49eda33d21227a21ec2 (patch)
treee09abb9be02ae56e7c983ad86d1531b8b1ec308d /user_guide/libraries/sessions.html
parent882b76bda8b701a8718960b8d639f060ae79e998 (diff)
Altered Session to use a longer match against the user_agent string. See upgrade notes if using database sessions.</li
Diffstat (limited to 'user_guide/libraries/sessions.html')
-rw-r--r--user_guide/libraries/sessions.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index 6048f4809..a6f3c601c 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -222,7 +222,7 @@ prototype (for MySQL) required by the session class:</p>
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(50) 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),