On 08/22/2011 12:13 PM, Martin Hediger wrote:
>    My Jmol pages are created on the fly by a CGI
> script anyhow. So the script includes the pathname for the requested
> version in the HTML code.
>
> So all scripts have different names? Do you use time stamps as
> fingerprints since I dont believe you generate new directories for each
> script, do you? We wanted to have that anyway, but still abit ahead of us.
>

Martin, you are right, we don't create new directories.
Each script is composed by the PDB code, the script type and the process 
ID to create a unique name:

    1deh-default-12345.spt

Timestamps have the problem that you need them very fine grained to 
avoid collisions between two users which request within the same second.

Process IDs easily avoid that. And because the script files are only 
kept for some time it is no problem that process IDs only have 5 digits 
and restart at '1' after the limit is reached.

Regards,
Rolf

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to