In C #, how can I transfer a session from one subdomain to another subdomain? For example, I use localhost IIS and I tried to send a value from
http:\\localhost\site1 to http:\\localhost\site2
using the following method
In site1 Session["test"] = "My value"; In site2 Response.Write(Convert.ToString(Session["test"]));
The above method worked perfectly to transfer values ββfrom one page to another, but I need values ββthat must be transferred from one subdomain to another sub-domain, i.e. one IIS web application to another IIS web application.
source share