maybe it's an obvious thing i've been overlooking but do/did have some trouble with "document expired"
for example:
- backend
- go to articles
- use searchfilters
- click an article
- press back button
not sure if it will give an error at yoiur site but here it is..
as i obviously don't like such errors i did decide to prevent the use of the backspace button in the frontend in general.
over here
they are explaining how to prevent it to be working. and
over here
some more info..
did add a location.href so it's going back to the eventslist view.
Code:
if (doPrevent) {
event.preventDefault();
window.location.replace("http://www.site.com/eventslist/");
}
but it's probably not a good solution so was wondering what else can be done to prevent it.
// edit //
did read a bit about window.onpopstate (html5) and think I'll use it to block/modify some things so will try it out.