从ihttp处理程序获取参数值 [英] taking parameter values from ihttp handler

查看:66
本文介绍了从ihttp处理程序获取参数值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


让我们考虑一个示例网站应用程序并在本地host.say中运行,例如
www.asdf.com 。当用户在浏览器中点击URL时



  1. 可以通过将ihttp处理程序或ihttp模块继承到我们的类来捕获它吗? / p>


  2. 如果通过更改 www.asdf.com?t=value 来确定网址,则可以采取这个值。


在java中,这个概念用作servlet过滤器。在dotnet


等待你的回复是否有类似的东西

解决方案

1。您想通过ihttp处理程序或ihttp模块捕获的确切内容


2。从网址获取值有
Request.QueryString



更好的答案发布到特定的 asp.net论坛


Let us consider a sample website application and running in local host.say for example www.asdf.com . when ever the user hitting the url in browser

  1. Can it can be captured by inheriting ihttp handler or ihttp module to our class

  2. If the url has been hitted by changing www.asdf.com?t=value is it possible to take that value.

In java this concept is used as servelet filters . Is there any thing like that in dotnet

waiting for your responses

解决方案

1. What exactly you want to capture through ihttp handler or ihttp module

2. for taking values from url there is Request.QueryString

for better answers post to specific asp.net forum


这篇关于从ihttp处理程序获取参数值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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