17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1184 Views |
-
Problem with post forms

6 March 2008 at 6:38am
Hello,
I'm having some problems with my website. I've made a custom module for my website and the only thing it does at the moment is showing the profile of a member and a form for editting the profile. The form has worked fine, but when I try to save the form now, silverstripe shows an error :
FATAL ERROR: Security ID doesn't match, possible CRSF attack.
After some research I found out that you can disable the security with the disableSecurityToken function. I did this and in the save function of the form I printed the Data array. It's empty except for the url and executeForm values which are get values. The rest of the form is post.
Does anybody know what to do?
Thanks in advance! -
Re: Problem with post forms

12 August 2008 at 12:12am
I'm having this same problem. My code is here http://pastebin.com/m943fbe0
| 1184 Views | ||
|
Page:
1
|
Go to Top |

