IIS 5.1在XP经典ASP似乎是在单线程模式 [英] IIS 5.1 on XP Classic ASP appears to be in single threaded mode

查看:115
本文介绍了IIS 5.1在XP经典ASP似乎是在单线程模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我do'nt有对XP IIS 5.1启用脚本调试,但经典的ASP应用程序出现在单线程模式下运行。一个页面必须完成装货前另一个可以加载。

I do'nt have script debugging enabled on IIS 5.1 on XP, but the Classic ASP applications appear to be running in single threaded mode. One page must finish loading before another can load.

任何想法???

推荐答案

迈克是对的,传统的ASP响应的收据(不同时)当被要求用同一个会话。顺序返回

Mike is right, Classic ASP responses are returned in order of receipt (not simultaneously) when being requested by the same session.

如果您需要在同一个浏览器在同一时间做两请求(如您的网站访问者可能需要做的,如果说请求之一是图像或AJAX),你可以使用一个页面请求禁用会话状态
<%@的EnableSessionState =假%GT; 在你的ASP页面的顶部。欲了解更多信息,请参阅: http://support.microsoft.com/kb/244465

If you need to do two requests at the same time in the same browser (as your web visitors might need to do if say one of the requests is for an image or AJAX) you can disable session state for a page request using <%@ EnableSessionState=False %> at the top of your ASP page. For more information, see: http://support.microsoft.com/kb/244465

当你这样做但是,你没有访问会话对象,所以你需要考虑识别用户在这些网页的其他方式(如在查询字符串令牌,IP地址,自定义实现使用Cookie对象和数据库等)的会话状态

When you do this however, you don't have access to the Session object, so you will need to consider some other way of identifying the user in such pages (e.g. a token on the query string, IP address, custom implemented session state using the Cookie object and a database, etc)

如果您不使用Session对象的话,那可以在IIS中禁用了一起,也是在的 http://support.microsoft.com/kb/244465

If you aren't using the Session object at all, it can be disabled in IIS all together, also explained at http://support.microsoft.com/kb/244465

这篇关于IIS 5.1在XP经典ASP似乎是在单线程模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆