Re: HttpWebRequest only returning NOFRAMES part of page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 10/04/04


Date: Mon, 4 Oct 2004 13:21:38 -0700

the site is probably looking at user agent to determine if the browser
supports frames. send a user agent header like IE's, to trick the site.

-- bruce (sqlwork.com)

"Toralf" <toralf.hallen@area26-dot-com.no-spam.invalid> wrote in message
news:4161abc7_3@Usenet.com...
> Greetings
>
> I have trouble catching the actual HTML Source code of a
> HttpWebRequest when the result of a successful login is a Frameset (I
> cant seem to get hold of the Frameset page Source code).
>
> The request is an automated basic login post (HttpWebRequest.Method =
> "POST" with username and password) which successfully catches Cookies
> etc. But the sources code I get is the NOFRAMES part of the frameset
> page:
>
> "The page requires a frames-capable browser. Almost every modern
> browser includes frame support, so you may wish to try upgrading to a
> browser such as Netscape or Internet Explorer."
>
> The underlaying pages are accessible withour the frameset but that
> isnt the point. I need to get hold of the actual Frameset code all
> well. I have gone through all HttpWebRequest and HttpWebResponse
> properties but so far I couldnt find a solution to this little
> kickup.
>
> Anyone managed to do this?
>



Relevant Pages

  • Re: I need some help with validating HTML
    ... HTML to use in Frames, and all their suggestions make the Site not ... You should close the frameset and then html. ... will fall back from standards mode to sloppy mode. ... browser finds something from an old standard and applies it in quirks mode. ...
    (alt.politics)
  • Re: Aw shoot
    ... All are 'strict' HTML and CSS which ... It all looks fine at my end on any browser. ... Replace frames with server side includes so that your documents do ... When I look at http://www.jimscott.co.uk/ I see a frameset. ...
    (alt.html)
  • Re: Aw shoot
    ... It all looks fine at my end on any browser. ... Replace frames with server side includes so that your documents do ... When I look at http://www.jimscott.co.uk/ I see a frameset. ...
    (alt.html)
  • Re: Aw shoot
    ... All are 'strict' HTML and CSS which ... It all looks fine at my end on any browser. ... Replace frames with server side includes so that your documents do ... When I look at http://www.jimscott.co.uk/ I see a frameset. ...
    (alt.html)
  • Re: Aw shoot
    ... It all looks fine at my end on any browser. ... Replace frames with server side includes so that your documents do ... If your server is putting frames around your pages then it's time to get ... When I look at http://www.jimscott.co.uk/ I see a frameset. ...
    (alt.html)