| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Referer trouble using GET |
| MeatLoaf From: riverside, CA USA Posts: 9 Member Since: 09/05/02 |
posted September 5, 2002 11:25 PM yoo, I am aginst a wall here trying to pass a Referer header to a server using GET. Here what I am doing: Dim Header As New DartStrings Header.Add "Referer: " & sReferer & vbCrLf Http1.Get bData No dice with the above! Its the referer hanging me up because I had same problem with LWP till I started sending referer headers. Whatever syntax can I use here to get this thing working? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 5, 2002 11:50 PM Two problems: 1) There's no need to add a crlf when you add the header to the dartstrings 2) You didn't pass the Header into the Get Method. It should be Get bData, Header Now, provided sReferer is valid and is what the server wants, it should work. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted September 6, 2002 8:46 AM Hi, Actually, you do need the CRLF unless you set the DartStrings Delimiter to CRLF. Also, you must use GetEx: Http1.GetEx Header, bData -ken |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|