Request.Querystring and System.Net.Webrequest

  • Thread starter Thread starter Dave Cowart
  • Start date Start date
D

Dave Cowart

Is there a known issue about System.Net.Webrequest interfering with
Request.Querystring? My web application pulls a record ID from a URL,
then uses that record ID to pull information a database. I then use
that pulled information to get information from a webservice with
System.Net.Webrequest and System.Net.Webresponse.

Each one works independently, but when I try to use them both in the
same site (not even in the same class--the Request.Querystring is in the
codebehind, and the System.Net.Webrequest is in a standalone class as
part of a shared function), the Request.Querystring returns null every time.

Any ideas or suggestions (or alternative ways to access a
webservice--this is my first attempt)

..NET 2.0
IIS 6.0
Visual Web Developer Express Edition



Thanks,

Dave
 
Back
Top