2022 Developer Survey is open! Take survey.

Hot answers tagged

4 votes

How can I extend the life of an XID hash in EE 2.8.1?

1.) Ensure your server time is set correctly and check your ExpressionEngine server timezone setting. Both the form hash ID and the session ID are time sensitive. If ExpressionEngine is calculating ...
user avatar
  • 1,029
4 votes

ExpressionEngine 2.8.1 always gives 403 Forbidden error when using ajax

ExpressionEngine has a protection against Cross-site Request Forgery - CSRF and a documentation available here. You just have to add that line to your form: <input type="hidden" name="csrf_token" ...
user avatar
  • 41
3 votes

ExpressionEngine 2.8.1 always gives 403 Forbidden error when using ajax

I wouldn't recommend this but in cases where you have no choice, e.g. you cannot tweak the code in an app in time or something to that effect, you can opt to conditionally disable secure forms in your ...
user avatar
  • 836
2 votes

Load XML via jquery.ajax causes an error

I checked and I can see the XID param being sent to the jquery.ajax by looking in chrome network panel, i can see the query string it builds. So we are good there. It sounds like you are sending the ...
user avatar
  • 2,255
1 vote

Webhook no longer working in EE 2.8.1

Solved. Problem was caused by new cross-site request forgery protections in EE. Setting the corresponding webhook action as csrf_exempt fixed it.
user avatar
  • 21
1 vote

How can I extend the life of an XID hash in EE 2.8.1?

Just thought I'd throw this in there for others that might find this post. EE 2.8.1 removed the secure form option in the admin section of the CP. The only way to disable now is to add this to your ...
user avatar
  • 166
1 vote

XID issues with back button and reload

We have an add-on for this that is very simple to use and will allow you to put a plugin tag under your form {exp:formrefresher} and if that template is loaded via the back button it will refresh the ...
user avatar
  • 1,029

Only top scored, non community-wiki answers of a minimum length are eligible