Re: HttpWebRequest Not Supporting Frames (example included)
From: Joerg Jooss (joerg.jooss_at_gmx.net)
Date: 03/27/04
- Previous message: Chris A. R.: "Re: Literals into string [] - syntax problem"
- In reply to: Chris Crabtree: "HttpWebRequest Not Supporting Frames (example included)"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 27 Mar 2004 22:19:45 +0100
Chris Crabtree wrote:
> ok,
>
> So I ran into this problem today with HttpWebRequest and a website
> using framesets. I get the response "This page uses frames, but your
> browser does not support them."
>
> The only post I can find on the web regarding this issue suggest
> setting the UserAgent property to a recognizable browser, so I traced
> IE 6 and added the same UserAgent string that it uses. No avail. I
> imagine that there must be something wrong with the way I'm doing
> this. It appears to be happening with any website I try that uses
> frames. Since there is so little mentioned of this problem on the
> net, it must be me, I highly doubt I've discovered some big problem.
[...]
It's you ;-)
http://longhorn.msdn.microsoft.com for example returns nested HTML frameset
with the frames "navbar", "panel_header", and "panel". It's up to the client
(your code) to load these individual frames using their "src" attributes.
That's exactly what your browser would do in this case.
Cheers,
-- Joerg Jooss joerg.jooss@gmx.net
- Previous message: Chris A. R.: "Re: Literals into string [] - syntax problem"
- In reply to: Chris Crabtree: "HttpWebRequest Not Supporting Frames (example included)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|