<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041761" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041761</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Firefox: The technique to</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/callback-functions-back-and-forward-buttons#comment-1232855</link>
    <description> &lt;p&gt;Firefox: The technique to make History Management work in Firefox is based on polling. When the location hash (the # in the url) is changed, the FF history engine adds a new entry in the window.history array. HistMan looks for a change in the hash and when there’s a change it executes a callback function of which the hash refers to. The interval for polling is set at 200 ms. This means that there’s a change there’s a delay of 200 ms before the callback function is called. Lowering the interval would decrease this delay but would increase the processor usage on the client-side.&lt;/p&gt;
&lt;p&gt;IE6+/Opera9: When HistMan is loaded it creates an hidden iframe. To add a new history entry to the history engine, we change the iframe’s location.href to a url including a GET request. The GET request sets some javascript that’s attached to the onload event of the body of the page that’s loaded into the iframe. The javascript then executes the callback function and changes the hash of it’s parent. When the location.href is changed, a new history entry is added, so that makes the back and forward navigation buttons work.&lt;/p&gt;
 </description>
     <pubDate>Sat, 30 Aug 2008 10:37:39 +0000</pubDate>
 <dc:creator>John_audson</dc:creator>
 <guid isPermaLink="false">comment 1232855 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Well, assuming that the user</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/callback-functions-back-and-forward-buttons#comment-1232612</link>
    <description> &lt;p&gt;Well, assuming that the user follows the expected procedure, that is fine.&lt;/p&gt;
&lt;p&gt;One of the profoundest experiences I had was letting a class of 3rd graders loose on a JS quiz app I was developing - talk about unexpected input!&lt;/p&gt;
&lt;p&gt;Yes, using POST/GET on a submission page is a good practice, but the question here is what happens to the AJAX data if the user hits the browser back button?&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Aug 2008 18:14:09 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1232612 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>You would have thought by</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/callback-functions-back-and-forward-buttons#comment-1232608</link>
    <description> &lt;p&gt;You would have thought by now that this issue would have been resolved within the browsers. Even a more stable ability to not cache post data would be useful.&lt;/p&gt;
&lt;p&gt;The other alternative is using a session or other means to determine if the data is old/has been used already. That way the code wont get post data and do what it would with it had it been the first run or data is the same. Of course that&#039;s not always possible, depending on the data usage.&lt;/p&gt;
&lt;p&gt;And is exactly why I only ever use POST and GET data on a page that isn&#039;t processed in the users browser.&lt;br /&gt;
No output at all, get post or get data, do calculations (or whatever) with it then redirect the user to a set of results or next form page or whatever (or back to the previous page with error report)&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Aug 2008 17:59:51 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1232608 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Maybe possible with Ffox and</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/callback-functions-back-and-forward-buttons#comment-1232606</link>
    <description> &lt;p&gt;Maybe possible with Ffox and Opera - does IE provide an API to the toolbar buttons?&lt;/p&gt;
&lt;p&gt;Other possibilities are cookies and $_SESSION variables...&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Aug 2008 17:49:46 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1232606 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
