Referrer data not being passed when using the Navigate method of the WebBrowser Control 
Author Message
 Referrer data not being passed when using the Navigate method of the WebBrowser Control

Many web sites use the HTTP_REFERRER data to insure that access to a web
page came from the appropriate previously selected web page. When using the
navigate method of the WebBrowser control, the referrer property of the
document object is left blank. If you select a hyperlink in a web page
displayed in the control, the  property is set correctly. Is there a way to
have the Navigate method set the referrer property correctly or
programmatically select the hyperlink on the page without using the navigate
method? It seems that the Document property of the WebBrowser control is
ReadOnly so I'm not sure how I could programmatically select a hyperlink.

Thanks for any help,
John




Sat, 29 Nov 2003 20:58:55 GMT  
 Referrer data not being passed when using the Navigate method of the WebBrowser Control
use the click method for the document.

--
Jeffrey Levy


Quote:
> Many web sites use the HTTP_REFERRER data to insure that access to a web
> page came from the appropriate previously selected web page. When using
the
> navigate method of the WebBrowser control, the referrer property of the
> document object is left blank. If you select a hyperlink in a web page
> displayed in the control, the  property is set correctly. Is there a way
to
> have the Navigate method set the referrer property correctly or
> programmatically select the hyperlink on the page without using the
navigate
> method? It seems that the Document property of the WebBrowser control is
> ReadOnly so I'm not sure how I could programmatically select a hyperlink.

> Thanks for any help,
> John





Fri, 19 Dec 2003 00:43:07 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Referrer property not being set properly when using the Navigate method of the WebBrowser control

2. Referrer Property of Document Object not updated using Navigate method of webbrowser controller

3. I am trying to update a record, i am not using data control

4. I am trying to update a record, i am not using data control

5. Need Help On WebBrowser.Navigate Method

6. PostData Parameter of Navigate method of WebBrowser

7. Using WebBrowser ctl to navigate to a local file

8. Manually setting referrer environment variable in a webbrowser control

9. IE5 Causing Crash Using Webbrowser.navigate

10. WebBrowser control Navigate without using cache

11. Navigating to HTML document anchors using the WebBrowser control

12. Can using WebBrowser navigate a String

 

 
Powered by phpBB® Forum Software