Allow users to override the device redirection by setting a value in $_COOKIE or using the Session API module to control the redirect flag.