Welcome Guest, Not a member yet? Register   Sign In
cookies isn't saved in browser: ff, ie, chrome. but worked in safari and opera. in profiler it is worked.
#1

[eluser]ganis[/eluser]
i simply use

$this->load->library('session');

just like tutorial told me. and with config:

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "mydatabase";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

In profiler, we can see that the cookies is saved in the database. But when I check the cookies in browser, it isn't saved. So every time I open a page, the cookies is added to the browser.

However, in opera and safari it's work, the cookies is saved to the browser.

What's the problem? in firefox, at first I thought it was the add-ons that I have, but when I disabled them or when I used safe mode, the problem wasn't solved. Help...

any replies will be highly appreciated.
#2

[eluser]ganis[/eluser]
no reply?

because it is so stupid or anyone has asked it? i've been looking anywhere and can't find it.
#3

[eluser]ganis[/eluser]
btw, it has been solved by myself. It was a stupid mistake, just a wrong cookie config in the config.php




Theme © iAndrew 2016 - Forum software by © MyBB