EnableSessionState的问题
我在页首写了
<%@ page language=vb EnableSessionState=true %>
<%@ import namespace="System.Web.SessionState" %>
可是取出某个session值的代码总是有问题,运行后提示“Session state can only be used when enablesessionstate is set to true,either in a configuration file or in the page directive.”
BTW,我的web.config文件有<sessionstate mode=inproc />