EllisLab/CodeIgniter — Issue #1090: User Agent DB VARCHAR(120) too short for iPad UA
Author: dennispedrie
Created: 2012-02-28 16:36:00+00:00
State: open

Hi,

I found the ticket #463 that made mention that the ci_sessions field for User Agent was increased to 120 characters. This is still too short.

The User Agent on an iPad 2 is similar to the following:

Mozilla/5.0(iPad; U; CPU OS 4_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F191 Safari/6533.18.5

It's 138 characters long. I changed my ci_sessions table to VARCHAR(255) and everything is fixed.

Thanks