AJAX + CSRF only works on Chrome, but not on Firefox and Safari.

2011-11-17 Thread Kyu
Hi, I'm doing very basic AJAX operation using Django 1.3.1. 1) First of all, I copied the AJAX + CSRF snippet (https:// docs.djangoproject.com/en/1.3/ref/contrib/csrf/#ajax) to my *.js file loded by the every HTML page. 2) HTML defines the subject, email, and message fields, but there's no form.

Re: AJAX + CSRF only works on Chrome, but not on Firefox and Safari.

2011-11-17 Thread Kyu
@Jesse Heitler: I don't use an underscore in my domain name. @Tom Evans: I'm just running the website locally (localhost:8000) using "runserver" command. I set the Firefox preference to allow 127.0.0.1 cookies, but it still gives an 403 error. Thanks, Kyu On Nov 17, 6:10