<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016266" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016266</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-cookies#comment-1094207</link>
    <description> &lt;p&gt;Two ways...&lt;/p&gt;
&lt;p&gt;1. just use the var name you specified when setting the cookie&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//page 1&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setcookie &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;TestCookie\&quot;, \&quot;Test Value\&quot;);&lt;br /&gt;&lt;br /&gt;//page 2&lt;br /&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$TestCookie&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
2. use the PHP&#039;s $HTTP_COOKIE_VARS&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//page 1&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setcookie &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;TestCookie\&quot;, \&quot;Test Value\&quot;);&lt;br /&gt;&lt;br /&gt;//page 2&lt;br /&gt;echo $&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$HTTP_COOKIE_VARS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;TestCookie\&quot;];&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Lots of goot examples and &lt;strong&gt;User Contributed Notes&lt;/strong&gt; in the PHP docs: &lt;a href=&quot;http://www.php.net/manual/en/function.setcookie.php&quot; class=&quot;bb-url&quot;&gt;setcookie()&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 18 Nov 2001 07:36:13 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1094207 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
