![]() |
Codeigniter throws 502 error CloudFlare while using session - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Codeigniter throws 502 error CloudFlare while using session (/showthread.php?tid=73725) |
Codeigniter throws 502 error CloudFlare while using session - xaiborweb - 05-27-2019 Hi, I'm using the latest version of CodeIgniter error reproduction Login system with Ion_auth config sessions Quote:$config['sess_driver'] = 'database';start session on the web page and when I delete the sessions created directly from the table ci_sessions because they are created demaciadas is when the error 502 cloudflare occurs. the only way i have found to fix it is to disable cloudflare redirect from https to http and wait a while and start loading the page looking in google I find that apparently it is problem of the cookies are too large according to this article https://stackoverflow.com/questions/31501972/codeigniter-throws-520-error-cloudflare-while-using-session although I'm a rookie and I'm not sure. I appreciate any help. if I delete my browser's cookies it also stops giving the error RE: Codeigniter throws 502 error CloudFlare while using session - tp45 - 10-09-2019 try PHP Code: $config['sess_driver'] = 'database'; //files sess_driver locally ,save them to database make sure database table column name are correct Code: [id] [varchar](128) NOT NULL, regards |