<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039827" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039827</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225208</link>
    <description> &lt;p&gt;Thanks so much for your help! This will help me out a lot!&lt;/p&gt;
 </description>
     <pubDate>Thu, 11 Oct 2007 11:27:09 +0000</pubDate>
 <dc:creator>L3ZL1E</dc:creator>
 <guid isPermaLink="false">comment 1225208 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225154</link>
    <description> &lt;p&gt;Yup, this should do it.&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;/* create timestamp in the future */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$future &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strtotime&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;+7 Days&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;/* format it to be sent to the header */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$future_formatted &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;D, d M Y H:i:s T&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$future&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;/* send cache header */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Expires: &#039; . &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$future_formatted&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; . &#039;\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2007 19:34:04 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1225154 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225153</link>
    <description> &lt;p&gt;Is it possible to make a date variable for the header and then set the cache to expire in, say, 24 hours? I don&#039;t want to keep updating the expiration date/time.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2007 19:11:32 +0000</pubDate>
 <dc:creator>L3ZL1E</dc:creator>
 <guid isPermaLink="false">comment 1225153 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225152</link>
    <description> &lt;p&gt;I think this is because their browser isn&#039;t caching the page, and it&#039;s being reloaded every time.  Here are a couple of ways you can fix this.&lt;/p&gt;
&lt;p&gt;1) Set the cache time of the page (assuming PHP).  Set the &#039;expires&#039; date to some point in the future.&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;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Expires: Mon, 26 Jul 1997 05:00:00 GMT\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;2) Instead of having the site visitors use their back buttons, provide a link where they can go back like &quot;&amp;lt; Back to List of Items&quot;.  Then, use an anchor tag to make that link go to the correct spot in the page.  The back link should point to a location like &lt;a href=&quot;http://www.example.com/items.php#item12345&quot; class=&quot;bb-url&quot;&gt;http://www.example.com/items.php#item12345&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2007 18:51:02 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1225152 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225150</link>
    <description> &lt;p&gt;I have index (master) pages that list items and breif descriptions of them. Those links go to details pages for the items, where all of the details of that item are listed. When you go from the index page to the details page, and press the back button in the browser, the items are queried and listed again, from the very first item. Therefore, if the user goes from the index to the details page and uses the back button in the browser, the user has to look over the list of items again and find where they were before, by scrolling down the page. I don&#039;t want them to have to scroll back to where they were.&lt;/p&gt;
&lt;p&gt;In contrast, I&#039;ve noticed that static pages do what I want them to do, that is, go right back to the place on the index where the user last viewed.&lt;/p&gt;
&lt;p&gt;Does that make more sense?&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2007 17:17:37 +0000</pubDate>
 <dc:creator>L3ZL1E</dc:creator>
 <guid isPermaLink="false">comment 1225150 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/index-pages-back-button-browser#comment-1225145</link>
    <description> &lt;p&gt;Could you please explain a bit more about what it is you want to achieve? I don&#039;t completely follow you...&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2007 15:50:49 +0000</pubDate>
 <dc:creator>Triexa.com</dc:creator>
 <guid isPermaLink="false">comment 1225145 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
