English 中文(简体)
Asp.Net MVC OnSessionStart Activities
原标题:Asp.Net MVC OnSessionStart event
  • 时间:2009-10-07 11:45:51
  •  标签:
最佳回答

它希望:

void Session_Start(object sender, EventArgs e) {
  // your code here, it will be executed upon session start
}

It does work in Asp.net MVC.
Put it as a method in the class defined in Global.asax.cs, for example just after the RegisterRoutes method.

问题回答

暂无回答




相关问题
热门标签