Welcome Guest, Not a member yet? Register   Sign In
Cookies only setting in certain browsers
#1

[eluser]KristenBlackburn[/eluser]
Ive tested my project on Maxthon, IE10, Chrome, Opera, and Firefox. Also installed cookie viewers for each browser, the only browsers which set cookies are chrome and firefox, the rest of the browsers fail to set cookies, leaving the session to return The action you have requested is not allowed.

define('CI_VERSION', '2.1.3');

$config['cookie_prefix'] = "";
$config['cookie_domain'] = ($_SERVER['SERVER_NAME'] == 'localhost' ? '' : preg_replace('/^www\./', '', $_SERVER['SERVER_NAME']));
$config['cookie_path'] = "/";
$config['cookie_secure'] = TRUE;


A little help on whats going wrong would be appreciated, thank you


Messages In This Thread
Cookies only setting in certain browsers - by El Forum - 06-01-2013, 12:14 PM
Cookies only setting in certain browsers - by El Forum - 06-01-2013, 03:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB