Login  
Search All Forums
Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web Enterprise for ActiveX
Topic: PageFetch (WebASP) empty body
kalimocho

From: madrid, TX Spain
Posts: 2
Member Since: 10/18/05
posted February 8, 2006 12:48 PM

I use pagefetch (last version i think) to get this url "https://eagora.telefonica.es/portal/site/e-agora-publico/"
and returns empty body but with a http sniffer i can see the body is not empty.

Why??
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 8, 2006 4:37 PM

For some reason the position is not being reset after the call to get. To remedy this, add the following code before you read the response:

WebASP1.Response.Body.Position = 0

If you have further questions regarding the resolution of the issue, please email David Harry (sales@dart.com) and refer to issue #3660
kalimocho

From: madrid, TX Spain
Posts: 2
Member Since: 10/18/05
posted February 8, 2006 6:20 PM

Thx!!
Now it works, but with:
WebASP1.Response.Body.Position = 0

(not response.position)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 8, 2006 6:58 PM

Thanks. And sorry about the typo. I'll fix the original post.
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX