move AltVersions to its own file, try setting domain and secure on the cookie
try using the staging domain
try using path for the cookie