View Full Version : timing procedure like expedia
fitchic77
09-12-2002, 07:09 PM
If anyone knows how http://www.expedia.com is timing their procedures (after picking a departure and arrival location) please let me know...I'm stumped!!
Thanks,
Andrea Fowler
joh6nn
09-12-2002, 10:06 PM
i picked a departure and arrival time, and still didn't see anything with timing. can you give a specific example, a link or something?
fitchic77
09-12-2002, 10:19 PM
enter the departure/arrival date and departure/arrival location then hit go or submit...you should get a waiting screen...
do like orlando and hawaii so it takes longer....
Thanks,
Andrea
joh6nn
09-13-2002, 03:14 AM
they seem to be using a series of bad JavaScript and server side hacks. Which makes me suspect, that even if it were possible to figure out exactly what they're doing, and then extract it from they're page, it wouldn't be worth the effort; the code just looks bad.
also, from what i could make out, it isn't so much a status bar; it's a series of requests to the server that need to be repeated by refreshing the page a few times, and it tries to make itself prettier when it does, that, by advancing a little box along, which doesn't seem to have any actual significance.
Spookster
09-13-2002, 03:24 AM
It would be an ASP thing. For a site like that they would have to connect into an airline database to validate the requested dates and times to ensure that ones exist close to what you want. I'm not an ASP guru but I recall reading somewhere about how to display a page/message while a server request was being processed which then takes you to the results once the request is completed.
fitchic77
09-13-2002, 03:39 AM
well just curious...it the waiting page was a fluke, then how come when you hit the browser back button it doesn't repead that page...just curious..
I have to do something similar in a reload of a page, but then the browser has to go back history(-2), but I can't figure it out..
Thanks,
Andrea
beetle
09-13-2002, 08:57 AM
use
location.replace(url);
so that pages never get recorded in the history, -OR-
history.go(-2);
fitchic77
09-13-2002, 12:35 PM
OH BEETLE:
I owe ya big time. I spent all day yesterday trying to resolve this with body onload code, etc, etc
I just can't believe this works now with just this small piece of code:
location.replace(targetURL);
I OWE YA BIGGIE TIME. My boss was going to scrap all my code if I couldn't resolve this. He obviously didn't want a back button created on the pages.
If you want to see this in action, go here:
http://209.118.243.140/test/golfpac3/index.cfm
thanks again. You've saved my @ss. :>)
Andrea
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.