Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Posting data with added Header
suvan
premsuvan@hotmail.com

From: PT, Israel
Posts: 2
Member Since: 05/22/02
posted May 22, 2002 12:07 PM

Hi,

I've installed the trial webTool component and I'm trying to use it in order to POST data through SSL connection. I've found that I'm missing a REFERRER definition in the header and I've tried to add it without success.

does someone knows what is the correct syntax to add a REFERRER value in the header for the webTool POST method ?

thanks,
Suvan.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 22, 2002 3:27 PM


Hi Suvan,
The header should be:
Referer: url
(not Referrer).
That is probably the source of your problem.
-ken

K M Drake
Dart Tech Support
suvan
premsuvan@hotmail.com

From: PT, Israel
Posts: 2
Member Since: 05/22/02
posted May 26, 2002 8:32 AM

thank you for your reply.
I've tried to use the examples in the forum of using the Webtool object with VB for my ASP application, I'm getting error messages or it doesn't work for me with everything I've tried.

here is an example of the code I've wrote :

----------------------------------------------

DIM Http, result,Header
result = ""

Set Http = Server.CreateObject("Dart.Http.1")
Set Header = Server.CreateObject("Dart.DartStrings.1")

Http.Security = 8
Http.TimeOut = 30000

HTTP.Url = "https://URL"

Http.Head Header
Header.add "Referer:http://Source_URL"

HTTP.Post "x=1&y=2",Header,result

----------------------------------------------

thanks,
Suvan.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 28, 2002 11:35 AM


Hi,
If you are able to successfully do the Post using IE, please pursue this through our support channels at support@dart.com.
Thanks,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX