<?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>Web Screenlet Session time out</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110912612" />
  <subtitle>Web Screenlet Session time out</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110912612</id>
  <updated>2026-04-08T02:54:03Z</updated>
  <dc:date>2026-04-08T02:54:03Z</dc:date>
  <entry>
    <title>RE: Web Screenlet Session time out</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110912976" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110912976</id>
    <updated>2018-09-10T06:18:51Z</updated>
    <published>2018-09-10T06:18:51Z</published>
    <summary type="html">&lt;p&gt;You can capture the sign out by injecting a JS script in the web
  screenlet that calls native code to redirect to the LoginScreenlet.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Something like this:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;
JsScript script = new JsScript(...);

webScreenlet.injectScript(script);&lt;/pre&gt;</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2018-09-10T06:18:51Z</dc:date>
  </entry>
  <entry>
    <title>Web Screenlet Session time out</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110912611" />
    <author>
      <name>Mohamed Imran</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110912611</id>
    <updated>2018-09-10T04:12:49Z</updated>
    <published>2018-09-10T04:12:49Z</published>
    <summary type="html">&lt;p&gt;By using web screenlet i have create apk. I have used login screenlet
  for authentication and then web screenlet to access specific pages of
  the portal. In web screenlet when i sign out it should redirect to
  login screenlet. How can i achieve that ?&lt;/p&gt;</summary>
    <dc:creator>Mohamed Imran</dc:creator>
    <dc:date>2018-09-10T04:12:49Z</dc:date>
  </entry>
</feed>
