Re: HttpWebRequest only returning NOFRAMES part of page
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 10/04/04
- Next message: Henri: "Problem with custom LinkButton and AddAttributesToRender"
- Previous message: Greg Burns: "Re: Latest Microsoft.VisualBasic.dll?"
- In reply to: Toralf: "HttpWebRequest only returning NOFRAMES part of page"
- Next in thread: Ken Dopierala Jr.: "Re: HttpWebRequest only returning NOFRAMES part of page"
- Messages sorted by: [ date ] [ thread ]
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?
>
- Next message: Henri: "Problem with custom LinkButton and AddAttributesToRender"
- Previous message: Greg Burns: "Re: Latest Microsoft.VisualBasic.dll?"
- In reply to: Toralf: "HttpWebRequest only returning NOFRAMES part of page"
- Next in thread: Ken Dopierala Jr.: "Re: HttpWebRequest only returning NOFRAMES part of page"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|