I added this line to the site's index.php and it makes no difference.
The issue / message can be easily recreated. If there are 2 or more pages of products, clicking on a product to view details, then using the browser's back button yields "Document Expired". As volunteered, the same issue is seen on the demo site under the same circumstances.
Hopefully there is a work-around, some way to avoid this as presenting this type of message to the typical customer isn't acceptable in my view. Customers will, in time assume the site is buggy, which undermines a company's credibility.