I am really just wondering if this is even possible. So we are in the process of redoing our website from Classic ASP to ASP.NET MVC. However, we are doing it a little bit at a time currently. We are splitting it into three new ASP.NET MVC projects that will each have their own domain. The issue that I am running into is we want to login on one page (which is currently the existing Classic ASP), and then redirect them to the new domain while passing stuff like a SessionID.
I got it working decently by storing information in the DB when they log in then sending it via QueryStrings. The issue is the manager wants me to not use QueryStrings due to possible information (like UserId) being sent there. So he is suggesting sending it via headers. This works by using a GET
request and adding the information in the header. I cannot redirect via the GET
as far as I know. I don't think redirecting via a POST
would work either.
Is there a way to redirect from one domain to another while passing information that does not require QueryStrings? If you need more information let me know.