So, seeing as htaccess should bypass all code as such, and just "do something" based on whether a cookie exists or not, then in that case it should be a universal solution.
Just saying "you don't understand", is not actually helping here. But thanks for your time.