I think I've "fixed" it.  I have added ".json" to the end of my json
request urls and now firefox and IE don't replay the ajax request with
the back button.  Is this a similar fix others have used?  or am I
setting myself up for more headaches down the road?

thanks, Jon

On Nov 11, 2:25 pm, Jon Hancock <[email protected]> wrote:
> Here's the flow (mootols 1.2.3):
> 1 - load page: /admin/users?filter=registered
> 2 - the above page loads the html and javascript and kicks off a
> Request.JSON to get some data and fill in the page with links based on
> the returned json data.  This Request.JSON uses the same url,  /admin/
> users?filter=registered but with an application/json accept header and
> my server responds appropriately.
> 3 - Now that the page is complete, I click one of the links, /admin/
> users/1234/show.  This loads a page with just static html.
> 4 - click the back button.  On Firefox (3.0.15), it replays the
> Request.JSON query from step 2 and I get a download dialog to download
> the json file!!!  On Safari (4.0.3), it does the request from step 1,
> which is the desired behavior.
>
> What should I be doing to ensure Firefox (or any browser) does not try
> to replay the request from step 2?
>
> thanks, Jon

Reply via email to