I am working on Classic ASP site. In one form results will be fetched from UPS site for displaying shipping rates, now when fetching the results from UPS site on first request it usually takes the minutes time to respond back.
So to improved the user’s experience with site, this UPS shipping calculation should be done in background and when the background process get finished the result should be displayed to form.
To solve this, we used jQuery AJAX approach, but problem is that user have to stay on same page for minute until UPS responds back, if he navigates to other page XHR request will be aborted.
So can you suggest, for background process which way have to choose in Classic ASP or how to navigate to other page without aborting AJAX request?
I have simply created one ASP page which will pass dummy data to UPS service in Async way and than created the background windows process which will keep calling that ASP page at regular interval.
This way whenever the users will come to site they wont experience the slow response due to first UPS request as our background process already keep the UPS channel open.