Classic ASP Session Variables Lost on Windows Server 2008 R2 / IIS 7

谁说我不能喝 提交于 2019-12-13 04:01:03

问题


We transferred our existing website which is running on a Server 2003 machine using iis6 and coded with classic asp to a Server 2008 64 bit machine using iis7 and classic asp. The only changes to the pages were for our calls to a Universe db, which need a new connection string . We tested all the pages within the department running 4-5 users and all went well. When we made it live for everyone (between 40 and 100 users) users were losing their session variables some immediately and others after 3 minutes.

Is there a setting in iis7 that could be throttling the amout of memory allotted for session variables? Or does anyone have any other ideas as to what may be happening. Thank you.


回答1:


I had this same problem and apparently resolved by changing the application pool to Classic. NET AppPool, not yet tested my entire application, but apparently resolved




回答2:


I can't test it here and now, but if I remember correctly you have to give the asp application it's own application pool (see the appropriate section in the IIS settings).




回答3:


Bad driver; crashing on 64-bit OS.



来源:https://stackoverflow.com/questions/3721603/classic-asp-session-variables-lost-on-windows-server-2008-r2-iis-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!