I have been asked to add a new payment gateway to a web app that I created. This new payment gateway takes my visitors to another site where they actually do the transaction. It then redirects the visitors back to my site after the payment has been finished. My concern is that upon redirect all of my session variables will be lost. This would ruin the entire session an make finalizing the data impossible.
I have a LOT of session variables, many of which are ASP.NET objects so just passing them in the URL is not an option. Am I correct in my assumption that the redirect would kill my session variables? If so, how should I handle this?
Just so you know I'm using a C# code behind.