[Solved] Codeigniter not setting correct expire time for cookie |
I am using google chrome. And xampp with windows 10
For some reason the expire time is not set correct for cookie 2017-04-10T11:17:38.801Z its not setting it correct ![]() I have done this below. I am trying to get it to expire in 12 hours no luck Question how to make sure it can set the expire time correct. PHP Code: $cookie_input = array( On my config.php session PHP Code: $config['sess_driver'] = 'files'; This function PHP Code: private function write_cookie($data = array()) {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Codeigniter not setting correct expire time for cookie - by wolfgang1983 - 04-09-2017, 04:26 PM
RE: Codeigniter not setting correct expire time for cookie - by wolfgang1983 - 04-09-2017, 09:07 PM
|