Browser Detection and Zend MVC
Posted
by Vincent
on Stack Overflow
See other posts from Stack Overflow
or by Vincent
Published on 2010-03-18T18:08:03Z
Indexed on
2010/03/18
18:11 UTC
Read the original article
Hit count: 666
php
|zend-framework
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
© Stack Overflow or respective owner