I am using the JavaScript version of the mobile redirect from:
http://detectmobilebrowser.com/
However I want to avoid infinite redirection loops.
On the mobile version we have a link back to the full desktop version and I don't want someone to click it and then just redirect back to the mobile main page.
Thoughts/Ideas?