日期:2014-05-18 浏览次数:20429 次
public void Init(HttpApplication context) { context.BeginRequest += new EventHandler(context_BeginRequest); } void context_BeginRequest(object sender, EventArgs e) { HttpApplication application = (HttpApplication)sender; HttpContext context = application.Context; //记录IP }
------解决方案--------------------
up
------解决方案--------------------
按要求,session_start就行了吧?