如何禁用HTTP保持活动的ASP.NET MVC? [英] How can I disable HTTP Keep-Alive in ASP.NET MVC?

查看:174
本文介绍了如何禁用HTTP保持活动的ASP.NET MVC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法告诉IIS / ASP.NET不允许保持活动的某些请求?甚至对于整个网站,如果真的去了解它的唯一途径?

Is there a way to tell IIS/ASP.NET not to allow Keep-Alive for certain requests? Or even for an entire website, if that's really the only way to go about it?

推荐答案

pretty肯定不能在请求级别进行。

Pretty sure it can't be done at the request level.

在IIS 6.0,<一个href=\"http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea116535-8eb9-4c80-8b14-b34418dbfe42.mspx?mfr=true\"相对=nofollow>它的IIS属性一个标签被曝光。在IIS 7中,他们那种<一个href=\"http://msmvps.com/blogs/bernard/archive/2007/07/10/how-to-configure-http-keep-alive-in-iis-7.aspx\"相对=nofollow>藏。

In IIS 6.0, it was exposed in a tab of IIS properties. In IIS 7, they kind of hid it.

这篇关于如何禁用HTTP保持活动的ASP.NET MVC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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