Hello Oliver,
Thank you for your question about automatically generating a session.
Is there any reason you need a session in particular rather than just
using the hubUrl setting (or some other combination of URL parameters
like position, db, etc)? We may be better able to assist or recommend
an easier solution if we knew a bit more about the use case.
There is a way to load a session file via url though, so if you could
automatically generate the session files on your server, then you can
specify URLs to session files via the hgS_doLoadUrl and
hgS_doLoadUrlName like so (note the hubUrl setting at the end as well,
which is only necessary for hubs not already loaded from the session):
http://yourmirrorname/cgi-bin/hgTracks?hgS_doLoadUrl=submit&hgS_loadUrlName=http://someurl/sessionfile.txt&hubUrl=http://pathtohub/hub.txt
Again, there may be an easier way to automatically generate these
links, if we knew the use case we can probably provide better advice.
Thanks,
Christopher Lee
UCSC Genomics Institute
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "UCSC Genome Browser Mirror-Specific Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
genome-mirro...@soe.ucsc.edu.
> To post to this group, send email to
genome...@soe.ucsc.edu.
> Visit this group at
>
https://groups.google.com/a/soe.ucsc.edu/group/genome-mirror/.
> To view this discussion on the web visit
>
https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome-mirror/CAJGs-MgUvjiWkqQ2JM2Crpji4otOBvBEGJHHDcxO7J_316WBkA%40mail.gmail.com.
> For more options, visit
https://groups.google.com/a/soe.ucsc.edu/d/optout.