473,326 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Forbiden (403) using Winsock & VB6

Hello,
No answer from "comp.lang.basic.visual.misc", so i try to post here...:

Using WINSOCK to acces the Web, in Visual basic 6 application, most of the
time it is working fine, but with some URL's, i got 'ERROR 403 forbiden to
access.....".
These URL are displayed correctly with IE6 and "Firefox 1.5" (for example:
http://www.mozilla.org/ ).

Any idea ??
Many thanks for any answer....


Jul 19 '06 #1
2 4752
Dudule wrote:
Hello,
No answer from "comp.lang.basic.visual.misc", so i try to post here...:

Using WINSOCK to acces the Web, in Visual basic 6 application, most of the
time it is working fine, but with some URL's, i got 'ERROR 403 forbiden to
access.....".
These URL are displayed correctly with IE6 and "Firefox 1.5" (for example:
http://www.mozilla.org/ ).
They are most likely checking the referrer header.
Use fiddler or ethereal to see what is being sent, try sending it as
well and see if it works.

--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems
Jul 19 '06 #2
Hello,
Many thanks for your answer;
BINGO, you are right, i checked the IE6 header (using Ethereal) and copied
in Winsock header, and everything works fine now...
Many, many thanks again
Regards

"Dean Earley" <de*********@icode.co.uka écrit dans le message de news:
44**********************@news.zen.co.uk...
Dudule wrote:
>Hello,
No answer from "comp.lang.basic.visual.misc", so i try to post here...:

Using WINSOCK to acces the Web, in Visual basic 6 application, most of
the time it is working fine, but with some URL's, i got 'ERROR 403
forbiden to access.....".
These URL are displayed correctly with IE6 and "Firefox 1.5" (for
example: http://www.mozilla.org/ ).

They are most likely checking the referrer header.
Use fiddler or ethereal to see what is being sent, try sending it as well
and see if it works.

--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems

Jul 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Josef Meile | last post by:
Hi, Textually from the highlights of python 2.4: "Assigning to None - the compiler now treats assigning to None as a SyntaxError." I think in general assignments to built-in types,...
0
by: pascal_dumont | last post by:
Hi all, I have a problem with downloading files by using WebClient wc = new WebClient(); wc.DownloadFile("http://some_url.com/some_file.gif", "some_file.gif"); This returns the error 403...
3
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a...
0
by: Björn Pedersen | last post by:
I'm having a tough time getting System.Net.Sockets to work with a server that's based around Winsock 6.0. For many reasons I can't write a new server because the server handles a number of client...
1
by: Eddie J | last post by:
I have a web service (#1) that contacts another web service (#2) that requires a digital certificate for access. When#1 calls #2, I'm getting a HTTP 403 error: Access Forbidden. There are a few...
1
by: Cat | last post by:
When I create a new web project and upload it to a sub directory of www directory on my hosting service server, 403.1 error occurs. I e- mailed the adnimistrator once and he manually set 'script...
20
by: Lennart Anderson | last post by:
I have finally managed to get Apache 2.2.4, PHP 5.2.0 and MySQL to talk to each other. Everything seems to work OK when dealing with databases but as soon as I use a php-script that use $_server...
6
by: Doug Ferguson | last post by:
I am using a webservice client that was created from a WSDL file in .Net 1.1. The client ALWAYS works the first time I call it. The second call returns one of two exceptions. It either returns...
3
AaronL
by: AaronL | last post by:
Hello, I am currently working on a project that has me in sort of a bind. What I want to do is retrieve web pages from the internet, and strip them down to just text. I'll get using Regular...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.