2 different post->IDs for single page load only in Firefox

Of course, right after submitting it I find out the cause for the issue:

The problem is caused by FireFox prefetching the other post in the background, resulting in those noticed 2 different postIDs per single page request.

If I disable prefetching, then it behaves as expected, so will need to add code to check for the prefetch header sent by FireFox and avoid updating the session data in such a case.
For more info on FireFox’s prefetch, see here: http://developer.mozilla.org/en/Link_prefetching_FAQ