Skip to content Skip to sidebar Skip to footer

How To Make Sure The Cookie Is Set Before A New Request Is Made?

I have an issue that should be fixed on the server side, but a quick workaround on the client side would be acceptable. I need to make a JS call after the page is loaded and the h

Solution 1:

A workaround that works for Chrome, FF and IE8+ is to use a setTimeout() inside the window.onload event handler. I'm looking for a better solution and an explanation, though...

Thanks,

Post a Comment for "How To Make Sure The Cookie Is Set Before A New Request Is Made?"