473,320 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

the this. on requests

Sorry if this is a bad questions, but does it matter if I use,
this.Request.QueryString or just Request.QueryString to get my url
parameters? Will they both do the same?
Feb 27 '08 #1
1 976
No, they are not the same. One has a more explicit scope than the
other.

In a general sense you can do this fine with no problems but if you
have a scope change you may get different results.

In other words, if, for some reason, there is an instance or local
variable named "Request" it will conflict with the global Request
object. The odds of this happening are slim (since this is a reserved
word as well as an object name) but that's the difference - scope.

Tom P.

On Feb 27, 3:15 pm, "Cindy Lee" <cindy...@hotmail.comwrote:
Sorry if this is a bad questions, but does it matter if I use,
this.Request.QueryString or just Request.QueryString to get my url
parameters? Will they both do the same?
Feb 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Fakhar | last post by:
Hi All, How can I check fake requests on my webpage. I am asking for email address as input and I wounder if anyone write a program to send fake requests and my system will be busy to respond...
1
by: Dmitriy A | last post by:
Hi, I have an problem that I've been struggling with for a week now and simply can not resolve. I have an MFC C++ application that sends a request to a servlet which sends back data...
4
by: Andy Leszczynski | last post by:
I need a HTTP server handling long lasting requests e.g. 10-30 seconds. Below is a pice of the code. In order to make the server reponsive while handling othere requests I use...
2
by: v. Seydewitz | last post by:
Hello, I want to log the soap requests (and responses) in my C# webservice consumer. I have extended my class with the SoapExtension, but the debugger don't step into the overridden methods. The...
1
by: sfoxover | last post by:
Hi, Could someone please give me some suggestions on how to make this class robust. I need to be able to handle around 20 similtanious requests to this class which causes a web browser to...
3
by: Michael Tsai | last post by:
Hi, It said that IIS 6 use HTTP.sys as the front end for handling HTTP request, and pass ASP.NET requests to w3wp.exe, but after some simple experiments, I found the security settings (e.g....
1
by: Vishwanathan Raman | last post by:
I have an issue accessing HTTP_REFERER property when the requests come in from https. The value comes as null. Is there a work around that will help me get the value of the property irrespective of...
2
by: Alex | last post by:
Hello, All. I encouraged some strange behaviour of either IIS, ASP.NET, IE or donn't know what... I have a simple wait.aspx page private void Page_Load(object sender, System.EventArgs e) {...
4
by: rzimerman | last post by:
I'm hoping to write a program that will read any number of urls from stdin (1 per line), download them, and process them. So far my script (below) works well for small numbers of urls. However, it...
4
by: K | last post by:
Hello everyone, I understand that urllib and urllib2 serve as really simple page request libraries. I was wondering if there is a library out there that can get the HTTP requests for a given...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.