Reply to Re: About loading html pages already loaded

Your name:

Reply:


Posted by Ed Mullen on 02/11/07 21:26

418928@cepsz.unizar.es wrote:
> Hi everybody,
>
> I would like to know if there is some trick to avoid loading an HTML
> page again is it is already loaded in another browser tab. In that
> case, instead of loading the page again, I would just like to direct
> the user to the right tab automatically.
>
> Note: I will have an applet on that page and I want to avoid calling
> it twice.

You can't control if a user opens your applet/page once, 2x, 3x, etc.,
nor whether he opens those in new tabs or new windows. You cannot
redirect a user's request for a page/applet to a specific window or tab
in his browser because the browser won't tell about the existence of
such things.

However! If the user has his browser's cache enabled (and configured a
certain way) it is certainly possible (perhaps likely, but I'm not
willing to go that far) that the request for your page/applet will be
drawn from the user's local cache and not downloaded again from your
server. But you have no real control over that. Nor should you.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
A bartender is just a pharmacist with a limited inventory.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация