<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023571" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023571</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/issues-cookiesrandomly-not-being-set#comment-1145126</link>
    <description> &lt;p&gt;one of the ones using aol... she uses their browser. i don&#039;t know enough about it and said it may be a failure of the browser, and that i know it doesn&#039;t understand standards right anyway. the response was that she asked which one i reccommend using. once she started using mozilla it was fine for her.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Jan 2004 06:07:07 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1145126 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/issues-cookiesrandomly-not-being-set#comment-1145080</link>
    <description> &lt;p&gt;the irony being that since the last post two that don&#039;t use aol went and looked at my quirks section of the faq explaining how to turn on cookies, and viola, it worked. therefore i think it&#039;s safe to say now that its either ao-hell for the two iknow are aol users, and browser issues for the rest... i think the one that it didn&#039;t work when i changed things recently put on a firewall. i rember her saying something about that, so her firewall might be the isue there. i know zone alarms doesn&#039;t allow cookies unless you tell it to (the advanced version) becasue my dad hs it&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Jan 2004 23:33:27 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1145080 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/issues-cookiesrandomly-not-being-set#comment-1144991</link>
    <description> &lt;p&gt;Sounds good.&lt;/p&gt;
&lt;p&gt;I still don&#039;t see anything wrong with the logic.  The only way I find things at that point is by printing every $var I can find to see if any values are not what I expected them to be at that point.&lt;/p&gt;
&lt;p&gt;Something else just came to mind... are you doing anything with remote_addr or remote_ip?  &#039;Cause AOL&#039;s proxies impare use of those $vars for authentication proceedures.  (I don&#039;t see the proxies effecting cookies, but who knows - it&#039;s a-o-hell)&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Jan 2004 05:12:06 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1144991 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/issues-cookiesrandomly-not-being-set#comment-1144984</link>
    <description> &lt;p&gt;thanx mark. i wasn&#039;t sure how to go about debugging ti. but i found it interesting that one of those with issues earlier didn&#039;t have themtonight. makes me feel that there is something on the user side. that and the fact the more i have try it, the more that have it work. it&#039;s looking more and more like user side and not client side. i&#039;m going to wait on the added debug until i&#039;ve had a chance to make sure every one of them has double checked that cookies are allowed by their browser.&lt;/p&gt;
&lt;p&gt;you are the first response i got. =o)&lt;br /&gt;
so far the only one. so the only reason i&#039;m not doing the debug now is laziness&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Jan 2004 04:19:14 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1144984 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/issues-cookiesrandomly-not-being-set#comment-1144862</link>
    <description> &lt;p&gt;I don&#039;t see anything wrong...&lt;/p&gt;
&lt;p&gt;You may want to try something like this:&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: #007700&quot;&gt;}elseif(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$action&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;update&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;){ &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# updates cookies (keeping you logged in) &amp;amp; returns waiting messages (optional)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbug &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;a&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_COOKIE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;login&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])&amp;amp;&amp;amp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_COOKIE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;login&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])){ &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# we&#039;re logged in&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbug &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;b&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ims&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=array(); &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# empty array for any ims we might find unread&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_connect&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$host&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$login2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pass2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) or die(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;cannot access mysql\&quot;); # get the sql connection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fyd&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_select_db(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbname&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) or die(\&quot;cannot connect to db\&quot;); # select the db&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$un&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_COOKIE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;un&#039;]; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pw&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_COOKIE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;pw&#039;]; # what we wont change on-the-fly&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fprefs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_query(\&quot;SELECT uid, gmt_offset, tds, login_duration, msgs FROM users WHERE username=&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$un&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039; AND password=&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pw&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;\&quot;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # get the prefs&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(mysql_num_rows(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fprefs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)&amp;gt;0){ # we can update the cookies&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbug&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; .= &#039;c&#039;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_fetch_array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fprefs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$gmto&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;gmt_offset&#039;]; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$utds&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$tdc&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;tds&#039;]];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$duration&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$durr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;login_duration&#039;]]; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$accepts&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;msgs&#039;]*1); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$uid&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$prefs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;uid&#039;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=(time()+(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$duration&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;*60));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setcookie(&#039;un&#039;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$un&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # set username&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setcookie(&#039;pw&#039;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pw&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # set password&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setcookie(&#039;login&#039;, 1, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # set login&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setcookie(&#039;gmto&#039;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$gmto&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # set the gmt offset&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setcookie(&#039;utds&#039;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$utds&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); # set the time display style&lt;br /&gt;echo \&quot;\n\n&amp;lt;!-- DBUG - DBUG - DBUG - DBUG - DBUG\n\n\&quot;;&lt;br /&gt;echo \&quot;dbug=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbug&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;prefs=\&quot;; print_r();&lt;br /&gt;echo \&quot;duration=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$duration&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;time=\&quot;.time().\&quot;\n\&quot;;&lt;br /&gt;echo \&quot;expire=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$expire&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;un=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$un&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;pw=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$pw&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;login=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$login&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;gmto=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$gmto&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;utds=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$utds&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\n\&quot;;&lt;br /&gt;echo \&quot;\n\nDBUG - DBUG - DBUG - DBUG - DBUG --&amp;gt;\n\n\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;This should give you a picture of what&#039;s going on.&lt;/p&gt;
&lt;p&gt;The &quot;abc&quot; should probably go right before the return statement.  It&#039;s purpose is to indicate if any of the conditionals are failing.&lt;/p&gt;
&lt;p&gt;Yes, I know how to spell debug.  I just felt like saving time by ommiting all the e&#039;s.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 Jan 2004 07:45:34 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1144862 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
