【发布时间】:2011-07-31 23:09:19
【问题描述】:
我在 wwwroot 中有一个包含网站所有页面的 floder。
问题是页面之间没有保存session和cookies,虽然可以识别session,但是总是空的!
我必须做什么才能在页面之间启用会话和 cookie?
我尝试将此行添加到 web.config
<authentication mode="Forms">
<forms cookieless="AutoDetect" domain="" timeout="10" protection="All" />
</authentication>
然后我把文件夹变成一个应用程序抛出 IIS 管理器工具。
但什么都没有:(
IIS 版本为 7
感谢您的帮助
【问题讨论】: