Can you tell us what the page you are trying to post to looks like - That is, are you sure you need auth_basic, or do you need to post the username and pwd to the page? An example of the code you have tried and what you are seeing when it fails? etc...When you say that you have tried most of the snippets around PM and they didn't work, most of them DO work (for their given process). So, when you are seeing something you can't exaplain or that seems impossible, you need to check your assumptions. C-. | [reply] |
You're not telling us very much that we need to know to help you out. Are you using LWP to handle the connections? IIRC that module handles basic HTTP authentication and cookies quite well. When you say "sock session" I get the impression you are doing socket level work yourself, which is definitely a big waste of time if you are connecting to standard web servers. It would be helpful if you gave us the error messages you are getting and snippets of your script. | [reply] |