Hi there,
I think Hovik doesn't know this is an ASP.NET forum, as his answer seems quite classic ASP related.
Anyway, here's what the MSDN says about both collections:
QueryString
Gets the collection of HTTP query string variables.
Params
Gets a combined collection of QueryString, Form, ServerVariables, and Cookies items.
Unfortunately, it doesn't provide any detail about the order the collections are searched, nor is it clear to me whether you can change that order (like in PHP).
Personally, I don't think there is much of a performance difference. However, I prefer to be explicit. So if you know you want to retrieve your values from the QueryString, use Request.QueryString. It makes things much easier to understand and debug.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|