<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there any way to go to a certain URL when there is a session timeout? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-any-way-to-go-to-a-certain-url-when-there-is-a-session/m-p/324313#M11314</link>
    <description>&lt;P&gt;So when a session times out, no matter where I am, I always want to go back to the domain where that user has access to. In this case, the primary url where the user first logs into is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://localhost:8080/nuxeo/view_documents.faces?conversationId=0NXMAIN" target="test_blank"&gt;https://localhost:8080/nuxeo/view_documents.faces?conversationId=0NXMAIN&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to make sure that when the session times out, it goes back to this URL.&lt;/P&gt;
&lt;P&gt;I looked at the nuxeo-login-platform package, specifically the handleRedirectToValidStartPage function in the ProxyAuthenticator.java file, the issue that occurs is the line where it states&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;session.setAttribute(NXAuthConstants.START_PAGE_SAVE_KEY, NuxeoAuthenticationFilter.DEFAULT_START_PAGE+ "?loginRedirection=true");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Once it reaches that line, the link returs as an unknown page, with the link&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/nuxeo/view_documents.faces" target="test_blank"&gt;http://localhost:8080/nuxeo/view_documents.faces&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which returns with all the headers and side panel. In the themeCellFrame box, it only displays the Summary and History tabs with nothing displaying.&lt;/P&gt;
&lt;P&gt;So how can I fix this issue?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2015 15:36:29 GMT</pubDate>
    <dc:creator>MEM4FP_</dc:creator>
    <dc:date>2015-07-01T15:36:29Z</dc:date>
    <item>
      <title>Is there any way to go to a certain URL when there is a session timeout?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-any-way-to-go-to-a-certain-url-when-there-is-a-session/m-p/324313#M11314</link>
      <description>&lt;P&gt;So when a session times out, no matter where I am, I always want to go back to the domain where that user has access to. In this case, the primary url where the user first logs into is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://localhost:8080/nuxeo/view_documents.faces?conversationId=0NXMAIN" target="test_blank"&gt;https://localhost:8080/nuxeo/view_documents.faces?conversationId=0NXMAIN&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to make sure that when the session times out, it goes back to this URL.&lt;/P&gt;
&lt;P&gt;I looked at the nuxeo-login-platform package, specifically the handleRedirectToValidStartPage function in the ProxyAuthenticator.java file, the issue that occurs is the line where it states&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;session.setAttribute(NXAuthConstants.START_PAGE_SAVE_KEY, NuxeoAuthenticationFilter.DEFAULT_START_PAGE+ "?loginRedirection=true");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Once it reaches that line, the link returs as an unknown page, with the link&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/nuxeo/view_documents.faces" target="test_blank"&gt;http://localhost:8080/nuxeo/view_documents.faces&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which returns with all the headers and side panel. In the themeCellFrame box, it only displays the Summary and History tabs with nothing displaying.&lt;/P&gt;
&lt;P&gt;So how can I fix this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 15:36:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-any-way-to-go-to-a-certain-url-when-there-is-a-session/m-p/324313#M11314</guid>
      <dc:creator>MEM4FP_</dc:creator>
      <dc:date>2015-07-01T15:36:29Z</dc:date>
    </item>
  </channel>
</rss>

