سلام
من کد زیر را نوشته ام
protected void Session_End()
{
Session["MyValue"] = Guid.NewGuid().ToString();
Response.Redirect("Views/Home/Contact.cshtml");
}
که هنگام اجرا
خطا زیر را میدهد
System.Web.HttpException
HResult=0x80004005
Message=Response is not available in this context.
چکار باید کنم