I am baffled as to what is goin on, maybe someone here can explain. I am developing a forum app and in the Global.asax i set two cookies as follows...
void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
if (User.Identity.IsAuthenticated)
{
string username = User.Identity.Name.ToString();
OnlineStatus SyncStatus = new OnlineStatus();
SyncStatus.SyncOnline(username.ToString());
}
else
{
string strSessionID = Session.SessionID;
//Remove default session cookie
Response.Cookies.Remove("ASP.NET_SessionId");
//Create new session cookie
Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", strSessionID));
Response.Cookies["ASP.NET_SessionId"].Expires ...
Go to the complete details ...