I want my application to log-on to an ASP page and after
having done that send some data to another ASP page.

To log-on I need to send this URL:

http://www.mtnsms.com/session.asp?na...sword=someword

And after having logged on I need to send this data
(to the newly given URL):

http://www1.mtnsms.com/sms/xsms.asp?...ge=somemessage

Now, what I don't understand is that when I do this using the Internet Explorer Address Bar; this actually works.

But when I send the exact same data using Visual Basic (winsock API):

GET http://www.mtnsms.com/session.asp?na...sword=someword

and after that:

GET http://www1.mtnsms.com/sms/xsms.asp?...ge=somemessage

It doesn't work?

I get redirected to the default page saying that the last page required me to log-on (while I do get an object moved message and a new location after having sent my first string)?

Could somebody tell me what I am doing wrong? (And how to solve it?)

Does it have something to do with cookies? Or perhaps that my socket gets disconnected after I received the first page?

Any help would be appreciated!