I'm not sure if this is possible or how to implement it.
I have an HTML only file that onload does an ajax request to a PHP file and the PHP script returns the main content of the page. What I'm wondering if its possible is.. when I send the request to PHP can PHP redirect the requesting page to a different page when the session/cookie isn't set?