<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>custom session timed out page or removing session extend</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=10048899" />
  <subtitle>custom session timed out page or removing session extend</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=10048899</id>
  <updated>2026-04-05T09:54:30Z</updated>
  <dc:date>2026-04-05T09:54:30Z</dc:date>
  <entry>
    <title>RE: custom session timed out page or removing session extend</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10074820" />
    <author>
      <name>Rajesh GR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10074820</id>
    <updated>2011-07-21T04:03:34Z</updated>
    <published>2011-07-21T04:03:34Z</published>
    <summary type="html">Hi Hitesh,&lt;br /&gt;&lt;br /&gt;i tried your suggestion and it is working fine. thanks for your help hitesh.</summary>
    <dc:creator>Rajesh GR</dc:creator>
    <dc:date>2011-07-21T04:03:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: custom session timed out page or removing session extend</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10050217" />
    <author>
      <name>Hitesh Methani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10050217</id>
    <updated>2011-07-20T06:07:32Z</updated>
    <published>2011-07-20T06:07:32Z</published>
    <summary type="html">Hi Rajesh,&lt;br /&gt;You can override \html\common\themes\session_timeout.jspf for that in hook.&lt;br /&gt;Just create a hook to override a mentioned jspf and in a method call to Liferay.Session.init(),&lt;br /&gt;pass an argument &lt;strong&gt;timeoutWarning: 0&lt;/strong&gt;, instead of &lt;strong&gt;timeoutWarning: &amp;lt;%= sessionTimeoutWarning %&amp;gt;,&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;This will remove session extend functionality from your portal. &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;Thanks and Regards,&lt;br /&gt;Hitesh Methani.</summary>
    <dc:creator>Hitesh Methani</dc:creator>
    <dc:date>2011-07-20T06:07:32Z</dc:date>
  </entry>
  <entry>
    <title>custom session timed out page or removing session extend</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10048898" />
    <author>
      <name>Rajesh GR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10048898</id>
    <updated>2011-07-20T03:18:10Z</updated>
    <published>2011-07-20T03:18:10Z</published>
    <summary type="html">Hi Guys,&lt;br /&gt;&lt;br /&gt;I need to remove the session extend functionality on before session timed out and need to display only session timed out warning message. i had tried to modified session.js and unable to achieve this. if i make session.timeout.warning=0, it is not giving the extend option to the user but it is not displaying the session timed out warning message as well.&lt;br /&gt;&lt;br /&gt;i started doing this by second approach by making:&lt;br /&gt;&lt;br /&gt;default.landing.page.path=/web/guest/session-expired&lt;br /&gt;auth.forward.by.last.path=true&lt;br /&gt;session.timeout.warning=0&lt;br /&gt;session.timeout.redirect.on.expire=true&lt;br /&gt;&lt;br /&gt;It is not displaying any warning session timed out but it is redirecting to login page instead of /web/guest/session-expired.&lt;br /&gt;&lt;br /&gt;user should view any warning or session timed out page on session timed out. hearty welcome to your ideas on this.</summary>
    <dc:creator>Rajesh GR</dc:creator>
    <dc:date>2011-07-20T03:18:10Z</dc:date>
  </entry>
</feed>
