Welcome Guest, Not a member yet? Register   Sign In
CSRF Protection not being set
#1

Hey everyone!

Long time since I've had an issue, hope you guys can help.

I've been running codeigniter on my production servers for quite some time without any issue. Spontaneously this afternoon I started receiving errors with people not being able to post to any of my forms.

After looking into it I noticed that my csrf_cookie was not being set. Has anyone ever encountered this issue? My config['csrf_protection'] is set to true and nothing else has changed.

What's confusing me even more is that my development box which is running the exact same code as production is setting my csrf token just fine. Weird one!
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply


Messages In This Thread
CSRF Protection not being set - by albertleao - 06-21-2017, 03:42 PM
RE: CSRF Protection not being set - by skunkbad - 06-21-2017, 03:59 PM
RE: CSRF Protection not being set - by albertleao - 06-21-2017, 08:20 PM
RE: CSRF Protection not being set - by albertleao - 06-21-2017, 08:49 PM
RE: CSRF Protection not being set - by skunkbad - 06-21-2017, 10:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB