Browser Detection and Zend MVC
- by Vincent
I have a PHP application using Zend MVC framework. The entry point for every request to the application is in /public/index.php.
I have a Browser class that has functions to check if the user's browser is compatible with application or not.
My dilemma is, index.php is executed for every controller call. So there are chances that this file gets executed multiple times within the same page and hence redirection becomes an issue. What's the best way to solve the looping issue?
Thanks