I'm using Request.Browser.IsMobileDevice
to detect if my site is being visited by a mobile or desktop. However we want to a text at the bottom of mobile pages to say something like "Do you prefer to see the desktop site, click here" and then it should refresh the site and show the desktop site, so with other words ignore all my if statements with Request.Browser.IsMobileDevice
.
How should I approach this? With sessions?
fyi, I am using Umbraco CMS.