Forum Discussion
cokeefe28_17139
Jan 16, 2012Nimbostratus
Mobile Device Detection with logic
All, I seem to be spinning my wheels here and I am not sure why. I want to do the following: 1. Detect if a user is coming from a mobile device (for simplicity, we will say o...
nitass
Jan 16, 2012Employee
I choose to go to the full site by clicking a hyperlink on the mobile site (www.site.com/?mobile=false) then redirect back to www.site.com and exit from further processing.i think the problem is here since after redirection, browser may create a brand new connection to www virtual server and it will be redirected to mobile virtual server again. local variable is not shared across connection. for global variable, i am not sure what data we can use. ip address might not be a good idea because mobile device may be behind nat device. cookie is not an option as you mentioned it is not supported on all device.
the rule above i used different FQDN in url (e.g. www2.site.com/?mobile=false), so we will be able to detect it later.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects