By rix.kostenko on
Hi,
I have a custom module which implements hook_boot() to do mobile detection and redirection.
Sometimes, for unexplained reasons, desktop users get sent to the mobile site.
I setup logging to show which user strings were being redirected and found that no non mobile strings were being explicitly redirected by the module.
My setup works with varnish and cookies but both have been configured to work with the module.
Is there some other cache layer i need to be aware of? I can't understand why this would work only 95% of the time.
Thanks,
Comments
Mobile tools
I would suggest you do the redirection using http://drupal.org/project/mobile_tools . As for the cache issues you will have to build it based on the changes you make with respect to this module.