ActionFilterAttributeのSession_Start呼び出しとOnActionExecutingの間のSessionはどうなりますか。
どういうわけか、私がこのようなものを設定したとき:
protected void Session_Start(object sender, EventArgs e)
{
Session["GoToBuyPage"] = true;
}
ここでActionFilterAttributeからアクセスしてみてください。
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
bool goToPage = (bool)Session["GoToBuyPage"];
常にnullです。なぜ何かアイデアはありますか?