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 @@ <li> <strong>Save the session URL.</strong> Immediately upon saving a new session, the top of the page offers a <code><strong>Browser</strong></code> hyperlink. Additionally, each session entry in the <em>My Sessions</em> list has a <code>Browser</code> hyperlink. Click either <code>Browser</code> link to open the Genome Browser with the session loaded. You can obtain the URL of the Genome Browser page by capturing the <code>Browser</code> 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. <p>The UCSC site and supported mirrors display short session links similar to the following: <code>http://genome.ucsc.edu/s/YourUserName/YourSessionName</code></p> <p>Previously, longer links were used: <code>http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=YourUserName&hgS_otherUserSessionName=YourSessionName</code></p> <p>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 <code>hgSession.shortLink=on</code> 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 <code>&position=chr10:69,644,222-69,644,999</code> in this example: + can be modified to include <a href=../../FAQ/FAQlink.html#trackViz>URL parameters</a>, such as + <code>position=chr10:69,644,222-69,644,999</code> in these examples: <pre><a href="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</a></pre></p></li> + 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</a></pre> +<pre><a href="http://genome.ucsc.edu/s/view/clinicalzoom?position=chr10:69,644,222-69,644,999" + target="_blank">http://genome.ucsc.edu/s/view/clinicalzoom?position=chr10:69,644,222-69,644,999</a></pre> +</p></li> <li> <strong>Email a session link.</strong> Each session entry in the <em>My Sessions</em> list also has an <code>Email</code> 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.</li> <li> <strong>Share a session settings file.</strong> 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.</li> <li> <strong>Share a web URL.</strong> If you have saved your settings to a file on a web server, you can provide a link like this to others: <pre><code>http://genome.ucsc.edu/cgi-bin/hgSession?hgS_doLoadUrl=submit&hgS_loadUrlName=<em>MyUrl</em></code></pre> <p> where <code><em>MyUrl</em></code> is the URL of your settings file, e.g., <code>http://www.mysite.edu/~me/mySession.txt</code>. In this type of link, you may replace