<?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>How to redirect to same page with session.timeout.redirectUrl</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120045583" />
  <subtitle>How to redirect to same page with session.timeout.redirectUrl</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120045583</id>
  <updated>2026-04-05T19:18:58Z</updated>
  <dc:date>2026-04-05T19:18:58Z</dc:date>
  <entry>
    <title>RE: How to redirect to same page with session.timeout.redirectUrl</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120047249" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120047249</id>
    <updated>2020-10-04T17:34:55Z</updated>
    <published>2020-10-04T17:34:55Z</published>
    <summary type="html">Hi ,&lt;br /&gt;You can try  writing  a custom action for Session Destroy and redirect to your custom url, you can refer below links.&lt;br /&gt;​​​​​​​ &lt;a href="https://help.liferay.com/hc/en-us/articles/360018181131-Performing-a-Custom-Action-Using-a-Hook"&gt;https://help.liferay.com/hc/en-us/articles/360018181131-Performing-a-Custom-Action-Using-a-Hook&lt;/a&gt;&lt;br /&gt;&lt;a href="https://liferayiseasy.blogspot.com/2015/04/custom-action-hook-in-liferay.html"&gt;https://liferayiseasy.blogspot.com/2015/04/custom-action-hook-in-liferay.html&lt;/a&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-10-04T17:34:55Z</dc:date>
  </entry>
  <entry>
    <title>How to redirect to same page with session.timeout.redirectUrl</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120045582" />
    <author>
      <name>Rajeev K</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120045582</id>
    <updated>2020-10-04T11:29:04Z</updated>
    <published>2020-10-04T11:29:04Z</published>
    <summary type="html">Using liferay 6.1How can I redirect the logged-in user to the &amp;#34;current page(same page)&amp;#34; on the session timeout?Settings in my portal-ext session.timeout.redirect.on.expire=true&lt;br /&gt;session.timeout.redirectUrl=/web/guest/home&lt;br /&gt;&lt;br /&gt;Any idea on how to set this session.timeout.redirectUrl so that it redirects to the current page?</summary>
    <dc:creator>Rajeev K</dc:creator>
    <dc:date>2020-10-04T11:29:04Z</dc:date>
  </entry>
</feed>
