Re: Simultaneous connection - WeOnlyDo Discussion board

Re: Simultaneous connection (General questions)

by woddrazen, Thursday, September 20, 2007, 20:36 (6072 days ago) @ Shakeeb Ahmed

Ahmed,


If you are using DEMO wodHttpDLX version than you shouldn't distribute wodHttpDLX on some other machine. You should install wodHttpDLX on that machine. This is just an issue in DEMO version.

About your code. If this is all your code than you should use before Post Method wodHttpDLX Get Method to get resource from server. After Get Method add all items which server request and than use Post Method.

Something like this:
[code]
http = new wodHttpDLXCom();
http.Notification = this;
http.Request.FormPost.RemoveAll();
http.Request.Cookies.RemoveAll();

http.Get(url);
http.Blocking = true;

http.Request.UserAgent = @ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 ;
http.Compression = true;
http.Request.Tag = i;
http.AutoRedirect = true;
http.Request.FormPost.Add( Login , );
http.Request.FormPost.Add( email , email);
http.Request.FormPost.Add( password , pass);
http.Request.FormPost.Add( Submit , Submit );
http.Post(url);
[/code]

Did you check if your URL have some Cookie that should be send?

Can you check what does http.Request.Cookies.Count; returns?

Also I would add that you can use IEWatch (http analyzer tool) and find out what should be send to server and send it with wodHttpDLX.

Let us know how it goes.


Drazen


Complete thread: