Click to See Complete Forum and Search --> : asynchronous loading of include sections.


Nishana
04-17-2009, 06:50 AM
Hi All.

Quick question,
Is there a way in Classic ASP[vbscript] that I can implement asynchronous loading of sections of a page.

I have a main page that includes a file which takes way too long to load as it grabs data from an external url. And this include is part of the header of the page, so it has to be loaded first.

Is there a way to load the include part and without waiting for it to complete loading, start loading the rest of the page.

thanks a lot.

yamaharuss
04-17-2009, 07:36 AM
Loading a file asynchronously is still loading a file. If you are doing it inline with the rest of the page it won't matter with method you use to load it. You may want to look at your layout structure i.e. if your whole page is in a table, the cells must load one at a time. Perhaps some creative way of using divs may be best.

Nishana
04-17-2009, 07:52 AM
I am putting this in Google [classic asp "asynchronous" "div" loading] but can't seem to find anything helpful, do you know of any way I can implement that?

thanks.

yamaharuss
04-17-2009, 07:54 AM
If you are loading content inline with your page, why are you trying to do an asynchronous call???