title: TYPO3 redirect/cookie set for mobile devices?
body: <p>I'm looking to do a fairly "normal" useragent check with TYPO3, to detect for any mobile devices, and ALSO check to see if a cookie is set to disable the mobile redirect. In other words, sudo code would be as follows:</p>
  
  <pre><code>if(is a mobile device) &amp;&amp; (cookie isn't set for disable mobile)
  {
     redirect user to domain.com/mobile
  }
  </code></pre>
  
  <p>This is all I'd like to be able to do! Can anybody give me any tips? I know you're able to use typoscript to check for a particular user-agent using [useragent = ...], which might work for the user-agent detection, but I'm not sure about the redirect OR checking for a cookie!</p>
  
  <p>Thank you!</p>