Disable IP address, user-agent string in cookie |
Hi,
I'm working with CI 3.0 and I have a problem with GDPR policies I'd like to avoid CI store the IP address and User Agent of client in cookie. I try to set config : Code: $config['sess_match_ip'] = FALSE; But cookie still store IP address and User Agent. Also I found the code to set cookie with IP address and User Agent in function sess_create() in Session.php PHP Code: function sess_create() Is there any config to affect above code ? I need to keep the cookie without IP address and UA , Can anyone tell me how to avoid CI store the IP address and User Agent in Cookie. Thanks in advance.
In the config.php file the session array sess_match_ip should be false.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(06-07-2018, 03:17 AM)yoyovolam Wrote: Hi, Update the Codeigniter Version. You using Codeigniter 2 and not 3 |
Welcome Guest, Not a member yet? Register Sign In |