<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003354" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003354</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-question#comment-1014726</link>
    <description> &lt;p&gt;I do something like this&lt;/p&gt;
&lt;p&gt;&amp;lt;?&lt;br /&gt;
$logouttime=time()-9999;&lt;br /&gt;
//sets time to a time already passed, thus deleting the cookie&lt;br /&gt;
setcookie(&quot;Cookiename&quot;, &quot;valuedoesn&#039;tmatter&quot;, $logouttime, &quot;/&quot;);&lt;br /&gt;
//cookie is now gone&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;http://dlo.net/sw/furious1.htm&quot; class=&quot;bb-url&quot;&gt;OMG It&#039;s Furious George!!!&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 17 Apr 2000 00:51:00 +0000</pubDate>
 <dc:creator>Patrick Davis</dc:creator>
 <guid isPermaLink="false">comment 1014726 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-question#comment-1014725</link>
    <description> &lt;p&gt;A couple of things to realize about cookies which should answer your question:&lt;/p&gt;
&lt;p&gt;1) They must be processed before any headers&lt;br /&gt;
2) They are taken care of in reverse order - thus, the last cookie listed will be the first to be taken care of.&lt;/p&gt;
&lt;p&gt;So, I would recommend do the following on your &quot;logout&quot; page:&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
setcookie(&quot;site_user&quot;, &quot;&quot;, time() + 14000, &quot;/&quot;);&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;That would make the cookie blank. I don&#039;t know if making it blank will do it or not - I am not sure if there is a way to delete a cookie or not.&lt;/p&gt;
&lt;p&gt;Anyway, hope that helps out at least a little bit.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
TWF Administrator&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.dids.com&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;Dynamic Internet Solutions&lt;/strong&gt;&lt;/a&gt; : Windows NT and UNIX Hosting &amp;amp; Dedicated Servers&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Apr 2000 21:39:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1014725 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
