title: Browser Detection and Zend MVC
body: <p>I have a PHP application using Zend MVC framework. The entry point for every request to the application is in /public/index.php.</p>
  
  <p>I have a Browser class that has functions to check if the user's browser is compatible with application or not. </p>
  
  <p>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?</p>
  
  <p>Thanks</p>