Cookie based mobile template redirection