87eae20de868054a5abeedeb78a24d3e296b87d5 dschmelt Tue May 21 15:09:55 2019 -0700 Adding notes about TinyURL enabling URL parameters #23030 diff --git src/hg/htdocs/goldenPath/help/hgSessionHelp.html src/hg/htdocs/goldenPath/help/hgSessionHelp.html index a57f06c..aeb79db 100755 --- src/hg/htdocs/goldenPath/help/hgSessionHelp.html +++ src/hg/htdocs/goldenPath/help/hgSessionHelp.html @@ -365,34 +365,37 @@
  • Save the session URL. Immediately upon saving a new session, the top of the page offers a Browser hyperlink. Additionally, each session entry in the My Sessions list has a Browser hyperlink. Click either Browser link to open the Genome Browser with the session loaded. You can obtain the URL of the Genome Browser page by capturing the Browser hyperlink via right-click before you proceed to the Browser graphical view. You can then store the URL, create a bookmark or share the link with others.

    The UCSC site and supported mirrors display short session links similar to the following: http://genome.ucsc.edu/s/YourUserName/YourSessionName

    Previously, longer links were used: http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=YourUserName&hgS_otherUserSessionName=YourSessionName

    System administrators of mirrors can introduce Apache redirects from the shorter links that will redirect to the longer links and enable the links to display for new sessions by setting hgSession.shortLink=on in the mirror's configuration files. Both links - can still be used, where the longer links do have the benefit of being able to be modified, - such as including &position=chr10:69,644,222-69,644,999 in this example: + can be modified to include URL parameters, such as + position=chr10:69,644,222-69,644,999 in these examples:

    http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=view&hgS_otherUserSessionName=clinicalzoom&position=chr10:69,644,222-69,644,999

  • + target="_blank">http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=view&hgS_otherUserSessionName=clinicalzoom&position=chr10:69,644,222-69,644,999 +
    http://genome.ucsc.edu/s/view/clinicalzoom?position=chr10:69,644,222-69,644,999
    +

  • Email a session link. Each session entry in the My Sessions list also has an Email link. Click this link to automatically invoke your email tool with a message containing the Genome Browser URL, which you can then send to others.
  • Share a session settings file. If you have saved your settings to a local file, you can give others access to the file, or email the file to them as an attachment and instruct them to load it using the Session tool.
  • Share a web URL. If you have saved your settings to a file on a web server, you can provide a link like this to others:
    http://genome.ucsc.edu/cgi-bin/hgSession?hgS_doLoadUrl=submit&hgS_loadUrlName=MyUrl

    where MyUrl is the URL of your settings file, e.g., http://www.mysite.edu/~me/mySession.txt. In this type of link, you may replace