Thanks, I think this is a solution! I can also set the cache expiration time to
a short period from apache configuration file, but it is probably not a good
idea.
Best
Junmei
On Monday, December 2, 2013 11:36 PM, Robert Hanson <hans...@stolaf.edu> wrote:
Most likely your browser is caching the file and it is not being updated. Add a
meaningless attribute such as ?_23348972394 that changes every time the file is
loaded using a random number.
jmolApplet([800,600],'load <?php echo "$filename"."?_".rand(); ?>; ');
(Sorry if my PHP is off there; I'm sure you get the idea.)
On Mon, Dec 2, 2013 at 10:22 PM, Junmei Wang <junmw...@yahoo.com> wrote:
Dear Robert,
>
>We would like to display how a molecular geometry changed during
>minimizations/MD simulations running on our server. The MD program
>continuously updates the input file (in pdb format) saved on the server. We
>use jmolApplet to display the model ( jmolApplet([800,600],'load <?php echo
>"$filename"; ?>; ');) .
>
>Thank you very much
>
>Junmei
>
>
>
>
>
>On Monday, December 2, 2013 8:40 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>What is changing the coordinates? Not a file load?
>
>Applet or Application?
>
>
JavaScript timeout with Jmol.script(appletid, "refresh") ?
>
>
>
>
>
>
>On Mon, Dec 2, 2013 at 8:25 PM, Junmei Wang <junmw...@yahoo.com> wrote:
>
>Dear Developers,
>>
>>
>>I wonder if there is a way or command to refresh the display of a model when
>>the coordinates are changed. I am interested in display a model dynamically
>>whose coordinates are changed probably every second.
>>
>>
>>I have tried to clear cache before reload the model, but apparently, Jmol
>>memorizes the initial molecular information and the display of the model does
>>not change at all, although the coordinates have already been changed.
>>
>>
>>Is there a way for jmol to handle my problem?
>>
>>
>>Thanks
>>
>>
>>
>>Junmei
>>------------------------------------------------------------------------------
>>Rapidly troubleshoot problems before they affect your business. Most IT
>>organizations don't have a clear picture of how application performance
>>affects their revenue. With AppDynamics, you get 100% visibility into your
>>Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
>>http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>_______________________________________________
>>Jmol-developers mailing list
>>Jmol-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>>
>
>
>--
>
>Robert M. Hanson
>Larson-Anderson Professor of Chemistry
>St. Olaf College
>Northfield, MN
>http://www.stolaf.edu/people/hansonr
>
>
>If nature does not answer first what we want,
>it is better to take what answer we get.
>
>-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers