Welcome Guest, Not a member yet? Register   Sign In
when csrf is true only works in firefox and not in other browser
#7

[eluser]LuckyFella73[/eluser]
You didn't read the thread Jeroen Schaftenaar posted via link!
Line 5 says remove underscore and you left the cookie_domain empty.

Code:
$config['cookie_domain'] = ($_SERVER['SERVER_NAME'] == 'localhost' ? '' : preg_replace('/^www\./', '', $_SERVER['SERVER_NAME']));

I recommend to set cookie encryption to TRUE - don't forget to set the
encryption key in config.php then.


Messages In This Thread
when csrf is true only works in firefox and not in other browser - by El Forum - 06-07-2011, 10:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB