Welcome Guest, Not a member yet? Register   Sign In
function being called twice
#2

(This post was last modified: 12-14-2018, 08:37 PM by richb201.)

Well, I ran a packet sniffer while testing. It seems that the browser IS sending the request twice. I have no idea of why this is and I am fairly certain that it is not running my xhr.send(json) code twice. Here is the packets from the sniffer.

   

BTW, I do get two 200 responses. How can I tell where in my javascript code (which is in a browser extension) the  2nd send is being initiated?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
function being called twice - by richb201 - 12-14-2018, 12:58 AM
RE: function being called twice - by richb201 - 12-14-2018, 07:34 PM
RE: function being called twice - by skunkbad - 12-15-2018, 10:00 AM
RE: function being called twice - by richb201 - 12-15-2018, 11:14 AM
RE: function being called twice - by dave friend - 12-15-2018, 11:42 AM
RE: function being called twice - by richb201 - 12-15-2018, 11:48 AM
RE: function being called twice - by dave friend - 12-15-2018, 01:40 PM
RE: function being called twice - by richb201 - 12-15-2018, 10:36 PM
RE: function being called twice - by richb201 - 12-17-2018, 06:58 AM
RE: function being called twice - by richb201 - 12-17-2018, 02:56 PM
RE: function being called twice - by Zigi84 - 01-06-2019, 06:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB