<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001039" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001039</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1072663</link>
    <description> &lt;p&gt;i had to take it down, cuz i lost it when the host transfered. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Oct 2000 03:21:36 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1072663 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1072569</link>
    <description> &lt;p&gt;Hey, where&#039;d your neat script go?! It&#039;s gone now. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;--Edge&lt;/p&gt;
 </description>
     <pubDate>Wed, 11 Oct 2000 22:34:10 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1072569 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004450</link>
    <description> &lt;p&gt;&lt;strong&gt;Japh&lt;/strong&gt; You need to print the set-cookie: before the print &quot;Content-type: text/html\n\n&quot;; If I remember correctly set-cookie is an HTTP header function and the browser does need to retrieve it before the html starts.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 20:01:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004450 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004449</link>
    <description> &lt;p&gt;orph - nice program.  personally, I use CGI::Cookie, because it does the hardest part for me -- the expiration date creation.  You can pass it a value like &quot;+3m&quot; and it&#039;ll set the expiration date from 3 minutes from now.  That way, you don&#039;t need to figure out the day of the week, etc.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
--&lt;br /&gt;
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 02:44:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1004449 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004448</link>
    <description> &lt;p&gt;robp - technically, Set-cookie: ... and Content-type: ... are both headers.  His problem was that he was printing the blank line BEFORE he was printing the Set-cookie header.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;
print &quot;Content-type: text/html\n&quot;;
print &quot;Set-cookie: ...\n&quot;;
print &quot;\n&quot;; # &amp;lt;-- the blank line
[/code]

------------------
-- 
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve &lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Sat, 25 Mar 2000 02:42:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1004448 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004447</link>
    <description> &lt;p&gt;I&#039;ll make a note about that when I update the page this weekend.&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 02:31:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004447 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004446</link>
    <description> &lt;p&gt;Edge:&lt;br /&gt;
 Do you have&lt;br /&gt;
 print &quot;Content-type:text/html\n\n&quot;; &lt;/p&gt;
&lt;p&gt;before you set the cookie?  I beleive you must set cookies before priting out any headers.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;The most used and accepted excuse for missing classes in University is &quot;My Grandmother Died&quot;.&lt;/strong&gt;&lt;br /&gt;
 &lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
&lt;p&gt;[This message has been edited by robp (edited 24 March 2000).]&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 02:26:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004446 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004445</link>
    <description> &lt;p&gt;Neat script! But when I try to use it...&lt;/p&gt;
&lt;p&gt;print &quot;Set-Cookie: name=value; path=/yourname; expires=$expdate; domain=yoursite.com\n&quot;;&lt;/p&gt;
&lt;p&gt;That prints out as text on the page reading:&lt;br /&gt;
Set-Cookie: name=value; path=/yourname; expires=$expdate; domain=yoursite.com&lt;/p&gt;
&lt;p&gt;Any way to fix this??&lt;/p&gt;
&lt;p&gt;--Edge&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 02:16:00 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1004445 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004442</link>
    <description> &lt;p&gt;Nice script!&lt;/p&gt;
&lt;p&gt;Now just print out the code to read the cookie also, and it will be perfect  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Patrick is my hero.&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Mar 2000 15:48:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004442 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-cookie-generator#comment-1004441</link>
    <description> &lt;p&gt;check out my latest nifty program at &lt;a href=&quot;http://perlshell.com/ps/scripts/cookie/cookie.cgi&quot; class=&quot;bb-url&quot;&gt;http://perlshell.com/ps/scripts/cookie/cookie.cgi&lt;/a&gt;  , it&#039;s a utility that will generate cookies for your CGI/Perl scripts. &lt;/p&gt;
&lt;p&gt;Feedback is more than welcome about anything except the design.  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Mar 2000 06:48:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004441 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
