ooh, I see! Ah, well I've done a created a whole script which runs on each page which checks all the variables are correct, form inputs are correct, id's in the page url are correct etc before the user can even see the page, and if something is wrong and it's needed inside that particular page, it quits to an error page.