Summary of problem
After logging in with Chrome via Forms Authentication. The landing page as returnUrl will error my jQuery ajax without hitting the server. The status code = 0 and the message = "error". (Hardly useful). Having tried Firefox and not being able to replicate the problem, I am starting to think Chrome is the issue. Clearing caches, closing and reopening does not fix. The closest article i can find is this. jQuery Ajax - Status Code 0?
However, the URL is relative, /Test
Another SO article: jquery ajax problem in chrome
Longer description
I am getting an error with jQuery ajax. It seems that immediately after logging in with forms authentication; the landing page (returnUrl), will JS error. Then after refreshing the page (F5), the script will work (mostly). Even if not using F5, navigating to the same page using a link will allow the JS to work (mostly). So straight after login is my main testing path.
Also, navigating in another tab to /Test action directly, works. The original tab still errors until i navigate or refresh it as mentioned.
I have had times where the navigating or f5 refresh does not stop the error. Thus the use of "mostly" in the opening paragraph.
After a day and a bit of not being able to find a solid reason through research, JS debugger, simplification of code and various scenarios; I need to request some help.
Javascript error feedback
The most I can gather is a status code of 0 and an error message of "error".
Software and versions
ASP.NET MVC 3
Chrome v28.0.1500.72 m
jQuery v1.8.3
AttributeRouting
<