Session dropped using combination of Azure, Https, and Remote HTTP calls Session dropped using combination of Azure, Https, and Remote HTTP calls azure azure

Session dropped using combination of Azure, Https, and Remote HTTP calls


If you redirect, Asp.Net will delete session tokens. There is a boolean that can disable session deletion. Try:

Response.Redirect(vm.ReturnUrl, false);

Edit

Actually, Azure does load-balancing and you CANNOT guess which worker will get a given session. So you use either:

  1. Cookies
  2. Azure Shared Session Cache

Source: Azure Asp.Net Redirect destroys Session variables