<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022481" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022481</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cookies-and-staying-signed#comment-1138690</link>
    <description> &lt;p&gt;odd. becasue i&#039;ve closed out the browser and then reopened it and gotten the screen that i&#039;m not logged in. &lt;/p&gt;
&lt;p&gt;i don&#039;t know about their operating system. i know they were both using interent explorer, one has made websites so i expect she&#039;s good with computers and she said she has cookies on.&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Oct 2003 16:15:55 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138690 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Re: cookies and staying signed in</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cookies-and-staying-signed#comment-1138659</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: first, and way more importantly, is the one that the 2 friends to sign up last are having. both using M$ internet explorer. both are not staying logged in.&lt;/p&gt;
&lt;p&gt;i cannot duplicate this. no one who signed up before them has the issue. they are successfully singing in, it&#039;s just not keeping. default login time is two min. they are def not waiting long enough for timeout.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; Have you had others test this with the same setup (OS/Browser)?&lt;br /&gt;
May sound dumb, but... do they have cookies enabled?&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: secondly, i&#039;m wondering how one can make a cookie which will stay in cache after one closes out a browser. this way i can make the cookies persist for those that don&#039;t want to be bothered with signing in each time they start up the browser&lt;/p&gt;
&lt;p&gt;i don&#039;t see how to do it with setcookie()&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;setcookie() always persists after a browser is closed.  Cookies always expire.  To keep a cookie for login purposes, the general practice is to set the cookie to expire 1 year from the current date.  Then after each successfull login (which should be automatic), you reset the expire for an additional year.  (This is so the cookie never actually expires)&lt;/p&gt;
&lt;p&gt;IIRC, sessions are the only thing that &quot;expire&quot; when a browser is closed.&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Oct 2003 07:24:26 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1138659 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
