smartest way is to use WRITE with a special mode that sends a full JMOL
(zip format) file to your server. This file contains all the files
necessary, and is simply sent back to Jmol to recreate the state. The key
is to put this in the URL:
?POST?_PNGJBIN_
This directs Jmol to post the binary of the PNGJ file (the full state, plus
an image) to your server using x-application/stream. You can add whatever
other parameters you want. It should work great.
On Thu, Sep 20, 2012 at 8:00 AM, Tamas Horvath <hota...@gmail.com> wrote:
> Hi!
>
> I'm trying to send the current state of the model to my server, so it can
> store it for later use. According to the v13 doc, it is now possible,
> however I'd need to pass some parameters alongside the data so the server
> could properly handle it (like naming the file to be stored, etc.). How is
> that accomplished?
>
> Thanks,
> Tamas
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users