Welcome Guest, Not a member yet? Register   Sign In
Codeigniter session sometimes kicking me out after completing call to a third party API
#5

[eluser]InsiteFX[/eluser]
Quote:1. the user_agent was set to a holy 50 characters in the user_sessions table! I have updated it to text. If you peoples recommend to use Varchar(255), it would be awesome if you let me know why its preferable.

NOTE:
The session library has that value hard coded in it so even if you change it in the session table CI will still chop it at 50.

As far as user_data:
Code:
-- ------------------------------------------------------------------------
--  `user_data` text,       COMMENT - maximum length of 65535 characters.
--  `user_data` mediumtext, COMMENT - maximum length of 16777215 characters.
--  `user_data` longtext,   COMMENT - maximum length of 4294967295 characters.
-- ------------------------------------------------------------------------


Messages In This Thread
Codeigniter session sometimes kicking me out after completing call to a third party API - by El Forum - 07-06-2012, 02:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB