Posted by mflynn-mmg 1 year 42 weeks ago
All, before I purchase a server license, I need to know if the following is possible.
We have a site available with a mobile directory in development. Part of what the client wants is to give the user the ability to go to the full site if they choose with their mobile device. I need a way to initially detect the device and redirect, but then to allow the user to see the full site if they wish.
Ideally, I'd like to add logic to determine if the redirect has already happened so it doesn't fire again when the user navigates to the full site.
Can Device Atlas do this for me? Thoughts, ideas, recommendations are welcome. Many thanks.




Posted by garbetjie 1 year ago
Hey Mflynn.
Unfortunately, that's not something that Device Atlas can do for you - Device Atlas merely provides the means with which to determine whether the device is a mobile device or not.
However, once the device detection and site redirection is complete, can you not perhaps set a session variable indicating whether the device detection has been completed? Then, on the main site, only perform the device redirection if the session variable is not found, or is false.
I'm not too sure which language you're developing this in, but it's a fairly simple exercise to complete in PHP (which is what I normally program in).
Hope this helps at least a bit!