{"comment":{"created_at":"2011-10-17T16:32:47Z","body":"The main issue is not the actual length, but the length we check in the \nlibrary and the length we store in the database. It used to be 50 in \nboth, then it got upped in the app for 2.0 and anyone who upgraded from \nan older version got screwed over.\n\nWe can pick any number (lets just say 255 now) and set it as part of the \nupgrade guide that everyone needs to run a SQL command to update. Then \nit is consistent throughout and nobody is going to fail session \ncomparisons when they upgrade their version of CI.\n\n> ------------------------------------------------------------------------\n>\n> \tDerek Jones \n> <mailto:reply@reply.github.com>\n> 17 October 2011 17:09\n>\n>\n> Aye, I would have thought that 120 characters was suitable. There's no \n> real limit to size since it's just a request header, though, so it \n> could balloon to ridiculous sizes in theory. Practically speaking, it \n> looks like ~200 is the largest seen in common, so hopefully 255 will \n> be the last change we need to make in that area.\n>","updated_at":"2011-10-17T16:32:47Z","url":"https://api.github.com/repos/EllisLab/CodeIgniter/issues/comments/2431178","id":2431178,"user":{"gravatar_id":"14df293d6c5cd6f05996dfc606a6a951","avatar_url":"https://secure.gravatar.com/avatar/14df293d6c5cd6f05996dfc606a6a951?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/philsturgeon","id":67381,"login":"philsturgeon"}},"action":"created","issue":{"number":587,"created_at":"2011-10-17T12:41:03Z","pull_request":{"diff_url":"https://github.com/EllisLab/CodeIgniter/pull/587.diff","patch_url":"https://github.com/EllisLab/CodeIgniter/pull/587.patch","html_url":"https://github.com/EllisLab/CodeIgniter/pull/587"},"body":"Changed session table user_agent field to 255 to accommodate 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.","comments":11,"title":"Changed session table user_agent field to 255 to accommodate long strings","updated_at":"2011-10-17T16:32:47Z","url":"https://api.github.com/repos/EllisLab/CodeIgniter/issues/587","id":1927982,"assignee":null,"milestone":null,"closed_at":"2011-10-17T12:41:45Z","user":{"gravatar_id":"52fb448f5555d7809c6f4fdeff9f5194","avatar_url":"https://secure.gravatar.com/avatar/52fb448f5555d7809c6f4fdeff9f5194?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/plasticated","id":74932,"login":"plasticated"},"html_url":"https://github.com/EllisLab/CodeIgniter/issues/587","labels":[],"state":"closed"},"legacy":{"issue_id":1927982,"comment_id":2431178}}