<?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 remove persistent cookies.</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1453958" />
  <subtitle>How to remove persistent cookies.</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1453958</id>
  <updated>2026-04-06T02:22:15Z</updated>
  <dc:date>2026-04-06T02:22:15Z</dc:date>
  <entry>
    <title>RE: How to remove persistent cookies.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1463250" />
    <author>
      <name>sancho sebastine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1463250</id>
    <updated>2008-10-21T03:03:55Z</updated>
    <published>2008-10-21T03:03:55Z</published>
    <summary type="html">Yes this is working.&lt;br /&gt;&lt;br /&gt;I had tried this earlier. But I had found it not working. Maybe I tested it wrong.&lt;br /&gt;&lt;br /&gt;Thanks a lot.</summary>
    <dc:creator>sancho sebastine</dc:creator>
    <dc:date>2008-10-21T03:03:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to remove persistent cookies.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1454803" />
    <author>
      <name>James Min</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1454803</id>
    <updated>2008-10-18T17:56:52Z</updated>
    <published>2008-10-18T17:56:52Z</published>
    <summary type="html">Have you tried setting this in portal-ext.properties?&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Set this to false to disable all persistent cookie. Features like&lt;br /&gt;    # automatically logging in will not work.&lt;br /&gt;    #&lt;br /&gt;    session.enable.persistent.cookies=false</summary>
    <dc:creator>James Min</dc:creator>
    <dc:date>2008-10-18T17:56:52Z</dc:date>
  </entry>
  <entry>
    <title>How to remove persistent cookies.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1453957" />
    <author>
      <name>sancho sebastine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1453957</id>
    <updated>2008-10-18T07:52:42Z</updated>
    <published>2008-10-18T07:52:42Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;According US federal laws you are not supposed to put cookies in client machines. Could you tell me how to remove usage of cookies from Liferay. Is this possible.?&lt;br /&gt;&lt;br /&gt;Any help is highly appreciated......&lt;br /&gt;&lt;br /&gt;Thanks &amp;amp; Regards&lt;br /&gt;Sancho&lt;br /&gt;&lt;br /&gt;Following is the detailed error report....&lt;br /&gt;&lt;br /&gt;Persistent Cookies&lt;br /&gt;&lt;br /&gt;http://10.110.50.26:8080/web/guest/ir&lt;br /&gt;http://10.110.50.26:8080/web/guest/guest&lt;br /&gt;http://10.110.50.26:8080/web/guest/home&lt;br /&gt;&lt;br /&gt;Summary: Cookies are small bits of data that are sent by the web application but stored locally in the browser. This lets&lt;br /&gt;the application use the cookie to pass information between pages and store variable information. The web&lt;br /&gt;application controls what information is stored in a cookie and how it is used. Typical types of information&lt;br /&gt;stored in cookies are session Identifiers, personalization and customization information, and in rare cases&lt;br /&gt;even usernames to enable automated logins. There are two different types of cookies: session cookies and&lt;br /&gt;persistent cookies. Session cookies only live in the browser&amp;#39;s memory, and are not stored anywhere.&lt;br /&gt;Persistent cookies, however, are stored on the browser&amp;#39;s hard drive. This can cause security and privacy&lt;br /&gt;issues depending on the information stored in the cookie and how it is accessed.&lt;br /&gt;Execution: All cookies are set by the server via the Set-Cookie HTTP Header. A browser knows to store that cookie as a&lt;br /&gt;persistent cookie when it finds the keyword &amp;#39;Expires=&amp;#39; followed by a date in the future. If there is no&lt;br /&gt;&amp;#39;Expires=&amp;#39; tag, or if the specified date has already passed, then the browser will keep the cookie in memory&lt;br /&gt;only as a session cookie.&lt;br /&gt;To view the persistent cookie set on this page, view the HTTP response and examine the Set-Cookie&lt;br /&gt;header. You should see the &amp;#39;Expires=&amp;#39; tag with a future date specified.&lt;br /&gt;Implication: Persistent cookies are stored on the browsing clients hard drive even when that client is no longer browsing&lt;br /&gt;the Web site that set the client. Depending on what information is stored in the cookie, this could lead to&lt;br /&gt;security and privacy violations. The Office of Management and Budget has decreed that no federal websites&lt;br /&gt;shall use persistent cookies except in very specific situations.&lt;br /&gt;Fix: From a coding perspective, the only distinction between a session cookie and a persistent cookie is the&lt;br /&gt;&amp;#39;Expires=&amp;#39; tag that specifies when a persistent cookie should expire. If a cookie has no &amp;#39;Expires=&amp;#39; tag, then it&lt;br /&gt;is automatically interpreted as a session cookie. Removing the expiration date from the code that sets the&lt;br /&gt;cookie will change it to a session cookie.&lt;br /&gt;Reference: White House Office of Management and Budget:&lt;br /&gt;Memorandum M-00-13 Privacy Policies and Data Collection on Federal Web Sites&lt;br /&gt;Microsoft Knowledgebase Article:&lt;br /&gt;Description of Persistent and Per-Session Cookies in Internet Explorer.</summary>
    <dc:creator>sancho sebastine</dc:creator>
    <dc:date>2008-10-18T07:52:42Z</dc:date>
  </entry>
</feed>
