Possible Duplicate:
Passing session data between ASP.NET Applications
I created two web sites, website1 and website2
In both of these websites web.config have the below settings
<sessionState mode="SQLServer" sqlConnectionString="data source=localhost;user id=sa;password=<****>;"></sessionState>
In website1 default.aspx.cs, i have the below code
Session["Test"] = "Test";
Response.Redirect("http://localhost/WebSite2/default.aspx");
In website2 default.aspx.cs, i have the below code
Response.Write(Session["Test"]);
but am not able to retrieve the session stored