Тема: Submiting two url requests
I'm developing a Ajax page that requests two urls. The first is a POST request and the second is a GET request.
I'm using time as a method between requests because the the GET request is only valid after the POST is made.
My questions are:
Is there any better way to start the GET request after POST without being time?
How to obtain all the info from the POST request (cookie, headers, etc) and made available with the GET request?
This is for the server to reconize the POST and GET coming from the same machine, user and browser.