I'm actually playing around with Laravel 4. Right now I'm implemented the CSRF token security on form post.
The problem is that, this is not actually working in the sense that the token generated in the session Session::token()
is always the same so when I try to re-submit a form or even post a form from another server, the security check is not working Session::token() != Input::get('_token')
(filters.php)
Anyone already faced this issue?
EDIT :
Ok I found the explanation of this. The token is actually different for each machine/session. It makes more sense now :)
Thanks to everyone for your help