the & at the beginning was trial and error....i just never removed it from one of the code attempts i tried....
how would i go about "casting" webrequest over to httpwebrequest?
this whole thing was alot easier back on vb6 and winsock lol
could you paste an example of the cookie container being used with casting httpwebrequest?....i think the cookies might be the whole problem asfar as the logging in part but im not 100% sure
how would i attach the httpwebrequest cookie container to webrequest?...im not seeing anyway form of container on webrequest :|
Main Topics
Browse All Topics





by: drichardsPosted on 2008-12-06 at 21:40:13ID: 23114872
What doesn't work? The only thing I see is that you probably don't want the & in front of "email" in the line:
Dim postData As String = "&email=" & E & "&password=" & P
This causes an empty field at the start for a total of 3 fields - blank, email, and password.
As for the cookies, try casting the WebRequest to HttpWebRequest and use CookieContainer. You can receive cookies and then use them in subsequent requests.