AJAX POST Request Only Works Once in Safari 5

前端 未结 3 957
执笔经年
执笔经年 2020-12-10 22:54

I use my own custom AJAX library (I\'m not interested in using jQuery, etc.), which is working flawlessly in the following browsers:

  • Firefox 7
  • Chrome
相关标签:
3条回答
  • 2020-12-10 23:27

    I can confirm that the problem seems related to some sort of interaction between Safari & IIS. Luckily, I only develop and test this portion of the code on Windows. I moved it unchanged to a LAMP (Linux/Apache) staging server (prior to moving to our LAMP production server) and the problem went away. I was seeing the problem with Safari 5, IIS 5.1, & an ActiveState Perl 5.6 CGI.

    Under RHEL 5, Apache 2.2, & Perl 5.8, it is gone.

    0 讨论(0)
  • 2020-12-10 23:39

    The reason the call is failing is because of a bug in Safari when working with Windows Authentication under IIS. Go to the Authentication settings of your website. Right click on Windows Authentication, choose providers and remove Negotiate, leaving NTLM which works fine. I haven't tested Kerberos.

    This issue only appears in certain builds of safari.

    0 讨论(0)
  • 2020-12-10 23:46

    Came here from the thread you mentioned might be a dupe. I never solved our problem, but have you tried a simple page making post requests? With our issue it's a post problem, not an AJAX problem, we're still stumped though.

    What version of IIS are you running on the server?

    0 讨论(0)
提交回复
热议问题