See this: Why does the order for making a redirect and putting a new variable in conn matter? - #8 by LostKobrakai