Can I use get info as a fallback if cookie not set?

Yes.

It is straight forward, first check $_COOKIE, and if it is not set check for $_GET value, and if its not set redirect back to index.