www.cftea.com

Global.asax 中能用 HttpContext.Current 吗?

ITPOW2019/5/30 16:39:15

问:Global.asax 中能用 HttpContext.Current 吗?

答:不能。也就是说不能使用 HttpContext.Current.Server.MapPath、HttpContext.Current.Application 等。

<<返回首页<<