We are trying to migrate our web app hosted in go daddy to Azure. And i am concerned about feautures not avalibale in azure after reading this post about Top 7 Concerns Migrating to Windows Azure.
Will cookie across domains work ?
We have a site with sub domain.
example.com -- Main Domain
sub.example.com -- Sub Domain
This is how we use cookie.
Set cookie in Main Domain.
HttpCookie myCookie = new HttpCookie("SiteUser");
myCookie.Domain = ".example.com";
myCookie["CustType"] = "Full";
myCookie.Expires = DateTime.Now.AddDays(1d);
Response.Cookies.Add(myCookie);
Read cookie in Sub Domain.
if (Request.Cookies["SiteUser"] != null)
{
HttpCookie item = Request.Cookies["SiteUser"];
}
Session State
This is how we use Session State in current application
Session["FirstName"] = "John";
-- can this be used in azure ?
It seems for Session in azure we have to uses Redis Cache Service as posted here
I would like to know what basic features of asp.net like sessions,cookie etc will not work in azure and the solution.
Any help would be great.