Welcome Guest, Not a member yet? Register   Sign In
action not allowed on form validation
#5

Yes I know, strange right?

It is not possible, i am using the same views and the same controller as here: https://ellislab.com/codeigniter/user-gu...ation.html. Source is as it is supposed to be. Yesterday I MAYBE actually found the problem: I try to run this code on Chrome 39 and on IE 8. It works on both. But on Firefox 34 it never works. I dont know why i haven't tested this earlier.

So apparently something is wrong with firefox 34? I googled about it but i didn't find anything.
Then I ran some more tests on what is happening with csrf_hash. I put log_message('info', $this->security->get_csrf_hash()); in controller. And i found out that when i refresh (run) controller in Chrome, csrf_hash does not change, it is changed just when i submit form and post is sent back to controller. In firefox csrf_hash is changed every time when controller runs.

In Log file, when i submit my form in fireofx, the last log is [DEBUG - 2014-12-10 12:45:50 --> Input Class Initialized], next one would have to be [DEBUG - 2014-12-10 12:45:50 --> CRSF cookie Set] but it never came to that. So I suppose that on form submition in firefox, crsf cookie don't want to be set. Why in firefox but not in IE and Chrome? It's weird.
Reply


Messages In This Thread
action not allowed on form validation - by juro - 12-08-2014, 04:40 AM
RE: action not allowed on form validation - by juro - 12-10-2014, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB