A
A
Andrey2016-04-11 18:03:12
HTML
Andrey, 2016-04-11 18:03:12

Why doesn't the browser send a Cookie without reloading the page?

Hello!
I have this problem: there are two consecutive GET requests (located on the page in script tags), in response to the first request, new Cookie values ​​\u200b\u200bare received for the domain to which the second request is sent. But new Cookies will only be sent if I force a page reload.
Is there a way to send Cookies as soon as they are received?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Litvinenko, 2016-04-11
@edli007

The requests are asynchronous, you could send them before the cookies arrived.
We need to look at the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question