From: Frieda R. <fr...@ns...> - 2006-10-30 02:08:57
|
I would like to provide a link from a page with a Jmol applet, to a page with another applet from a different server, where the version of Jmol is likely to be different. Given that the browser cache needs to be cleared to change applets, is there any particularly "good" way to do provide such a link, or is it just taking a risk to do it? Also, I need to decide whether to open a new window (I would prefer this) or whether to load the new page into the existing window. Anyone have much experience with running different versions of the applet either one after the other in the same window, or simultaneously in two different windows, without clearing cache? I would like to know if serious or minor problems arise. Thanks, Frieda /////////////////////////////////////////// Frieda Reichsman, PhD Molecules in Motion Interactive Molecular Structures http://www.moleculesinmotion.com /////////////////////////////////////////// |
From: Angel H. <ang...@ua...> - 2006-10-30 10:13:36
|
Hi Frieda I agree with your problem. My (short) experience says that yes, the browser sticks to the first version. I don't think that opening on a new window changes this. The only solution I have is closing the browser. So, what is needed is a way to clear the applet cache. |
From: Frieda R. <fr...@ns...> - 2006-10-30 12:26:31
|
On Oct 30, 2006, at 4:23 AM, Angel Herraez wrote: > Hi Frieda > > I agree with your problem. > > My (short) experience says that yes, the browser sticks to the first > version. I don't think that opening on a new window changes this. The > only solution I have is closing the browser. > So, what is needed is a way to clear the applet cache. > Hi Angel, it looks like the fact that the URL will be different will solve the problem. Thanks, Frieda /////////////////////////////////////////// Frieda Reichsman, PhD Molecules in Motion Interactive Molecular Structures http://www.moleculesinmotion.com /////////////////////////////////////////// |
From: Rolf H. <rh...@fl...> - 2006-10-30 10:15:35
|
Frieda Reichsman wrote: > I would like to provide a link from a page with a Jmol applet, to a > page with another applet from a different server, where the version of > Jmol is likely to be different. > > Given that the browser cache needs to be cleared to change applets, is > there any particularly "good" way to do provide such a link, or is it > just taking a risk to do it? > > Also, I need to decide whether to open a new window (I would prefer > this) or whether to load the new page into the existing window. > > Anyone have much experience with running different versions of the > applet either one after the other in the same window, or > simultaneously in two different windows, without clearing cache? I > would like to know if serious or minor problems arise. > In my experience caching is only a problem if different versions are provided from exactly the same URL. I often access our Jmol interface with different versions either in the same window/tab or in a new window. But I never had any problem getting the correct applet version with Firefox on Linux/WinXP and Firefox/MSIE on WinXP. So even from the same server it should't be a problem, as long as the different versions have there own subdirectory (reflected also in the URL of the applet). You can try this with the following URLs, which should come up with version 10.00.36, 10.2.0 and 10.9.86: http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.00.36 http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.2.0 http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.9.86 Just to make sure you are not misleaded: important is not the URL of the page but of the applet that is loaded. Regards, Rolf |
From: Frieda R. <fr...@ns...> - 2006-10-30 12:24:58
|
On Oct 30, 2006, at 5:14 AM, Rolf Huehne wrote: > So even from the > same server it should't be a problem, as long as the different > versions > have there own subdirectory (reflected also in the URL of the applet). > You can try this with the following URLs, which should come up with > version 10.00.36, 10.2.0 and 10.9.86: > > http://www.imb-jena.de/cgi-bin/3d_mapping.pl? > CODE=2arc&JMOLVERSION=10.00.36 > > http://www.imb-jena.de/cgi-bin/3d_mapping.pl? > CODE=2arc&JMOLVERSION=10.2.0 > > http://www.imb-jena.de/cgi-bin/3d_mapping.pl? > CODE=2arc&JMOLVERSION=10.9.86 > > Just to make sure you are not misleaded: important is not the URL > of the > page but of the applet that is loaded. OK, I see. To make sure I am understanding you correctly - even though the URLs above are quite similar, the query part of the URL is directing the browser to different sub-directories to get the different Jmol versions, correct? Thanks! This would take care of the problem. Frieda /////////////////////////////////////////// Frieda Reichsman, PhD Molecules in Motion Interactive Molecular Structures http://www.moleculesinmotion.com /////////////////////////////////////////// |
From: Rolf H. <rh...@fl...> - 2006-10-30 13:08:26
|
Frieda Reichsman wrote: > > On Oct 30, 2006, at 5:14 AM, Rolf Huehne wrote: > >> So even from the >> same server it should't be a problem, as long as the different versions >> have there own subdirectory (reflected also in the URL of the applet). >> You can try this with the following URLs, which should come up with >> version 10.00.36, 10.2.0 and 10.9.86: >> >> http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.00.36 >> <http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.00.36> >> >> http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.2.0 >> <http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.2.0> >> >> http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.9.86 >> <http://www.imb-jena.de/cgi-bin/3d_mapping.pl?CODE=2arc&JMOLVERSION=10.9.86> >> >> Just to make sure you are not misleaded: important is not the URL of the >> page but of the applet that is loaded. > > OK, I see. To make sure I am understanding you correctly - even though > the URLs above are quite similar, the query part of the URL is > directing the browser to different sub-directories to get the > different Jmol versions, correct? > Yes, correct. The Jmol javascript libraries have for example the following URLs: http://www.imb-jena.de/ImgLibPDB/jmol/jmol-10.00.36/Jmol-idb.js http://www.imb-jena.de/ImgLibPDB/jmol/jmol-10.2.0/Jmol-idb.js http://www.imb-jena.de/ImgLibPDB/jmol/jmol-10.9.86/Jmol-idb.js Regards, Rolf |