Browser History with jQuery bbq plugin
<p>The application I am currently working on has pagination in it. So far we have been using jQuery bbq plugin to post the page change events and its working great. But recently we noticed that when the user reaches the last page and deletes all entries from the page, the page is empty. So we changed our backend service to respond with last n number of entries when user deletes the all the entries in the last page. </p>

<p>This creates a new problem, if the user now presses a back button he is shown the very same list of alerts that he has seen before. </p>

<p>I have read quite a few posts on StackOverFlow and all them seem to conclude that there is no way to delete last entry from browser history because of security concerns. </p>

<p>I was intrigued about google's implementation, so I went to my GMail trash. I had 365 emails in trash folder. I then navigated step by step to the last page and deleted all the entries from the last page. GMail immidiately showed me emails from 300 - 350. Interestingly enough, when I press the back button, it holds me on that very same page. I looked at the bread crumbs in browser backbutton and I see 8 entries in there, showing that even they hadn't implemented this right.  </p>

<p>I was wondering if anybody else has dealt with this problem has found a solution. I see that jQuery bbq posts the state to the browser history which causes the browser to record a page change. But, is it possible to delete the last entry with jQuery bbq ? </p>

<p>I know it is verbose, but there is no code that I could post. So, please bear with me. Thanks for your help in advance. </p>
