Well, the first change works great. I can purposely set a bad cookie in Firefox - one that starts with ‘cm’ and has a dollar sign in it - and I won’t see the “Disallowed” message at all.
The second change doesn’t work at all (and man, the docs could use some examples! I’m looking at the Functions in the docs, and there isn’t a single real example under “Redirect”). What I’d like to do is redirect users to a real basic page that at least allows them to email the webmaster, or generically explain how they might have gotten there. No matter what I do…I can’t redirect here, I end up just getting a white page.
Seems that if I put any $FNS class stuff in that function that nothing works (and yes, I added “global $FNS”). Seems that doing anything other then echoing some text on the page with that function isn’t allowed.
If I even put this line in that function, anywhere:
$return_url = $FNS->create_url('site/error');
the resulting page blanks out.
Shouldn’t I be able to redirect from here?
