Myibidder.com Forums
Myibidder.com|Forums|Register|Donate
User Id
Password
Forums logins require a separate registration.
No login yet? Register here
Forums IndexNew TopicReply
 
 1   2 
General Support for Myibidder service
Comments, Suggestions and Ideas
 Sun Oct 23, 2011 07:29 PM Quote
esb1922
Guest
Avatar

I don't know - I process cookies exactly like in this example http://stackoverflow.com/questions/4166432/c-sharp-webrequest-login-session and the guy is claiming that his code works.
In fact I can see the cookie
Cookie.Name = "s"
Cookie.Domain = "www.myibidder.com"
Cookie.Path = "/login"
Cookie.Value = ""
and I also split those 2 requests

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sun Oct 23, 2011 07:31 PM Quote
Sashka
Support
Avatar
Posts: 3650
Member Since: Feb 13, 2008
Location: www.myibidder.com

The Path should be "/".
Value should not be empty.
Splitting requests has nothing to do with the cookies as long as you pass your cookie on every request.

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sun Oct 23, 2011 07:40 PM Quote
Guest
Avatar

I should have said "BTW, I split requests"

And I don't say that I do it right. All I said is that I took a "working example" from the Internet and got a cookie like in my previous post.

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sun Oct 23, 2011 07:51 PM Quote
Sashka
Support
Avatar
Posts: 3650
Member Since: Feb 13, 2008
Location: www.myibidder.com

I guess the example is not really working :-)
Try another one. Or get one from Microsoft examples from .Net. Microsoft provides some examples too.

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sun Oct 23, 2011 08:00 PM Quote
esb1922
Guest
Avatar

you're right I will ... but not from Microsoft. I don't like their tutorials

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Mon Oct 24, 2011 02:15 AM Quote
esb1922
Guest
Avatar

Phewww!!! Gettig somewhere. I was able to login but not to snipe

strURL = "https://www.myibidder.com/main";
postData = "newid=110759577411&mybid=60&groupid=0";

string testResults = string.Empty;
HttpWebRequest runTest = (HttpWebRequest)WebRequest.Create(strURL);
runTest.CookieContainer = cookieContainer; //Session Cookie is here
runTest.Method = "POST";
runTest.ContentType = "application/x-www-form-urlencoded";
StreamWriter stOut1 = new StreamWriter(runTest.GetRequestStream(), System.Text.Encoding.ASCII);

It didn't snipe
Are URL https://www.myibidder.com/main and input fields correct?

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Mon Oct 24, 2011 04:14 AM Quote
Sashka
Support
Avatar
Posts: 3650
Member Since: Feb 13, 2008
Location: www.myibidder.com

esb1922 wrote:

strURL = "https://www.myibidder.com/main";
postData = "newid=110759577411&mybid=60&groupid=0";

You missed "a=addnew" and "ref=main" so it should be:
postData = "a=addnew&ref=main&newid=110759577411&mybid=60&groupid=0";

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Mon Oct 24, 2011 02:35 PM Quote
esb1922
Guest
Avatar

yeah, always I forget about hidden fields.
Works great, thanks a lot for your time.





"Узнаю соотечественника по походке" :)

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sat Oct 29, 2011 12:20 AM Quote
esb1922
Guest
Avatar

I guess since you run javascript and probably some code behind in order to delete snipes, it's not possible to delete a snipe from a different app (like we discussed before). Correct?

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sat Oct 29, 2011 12:38 AM Quote
Sashka
Support
Avatar
Posts: 3650
Member Since: Feb 13, 2008
Location: www.myibidder.com

It's possible. JavaScript is client-side only. Just put the same field submitted by the form.

You can find out all elements of the form being submitted using some Firefox add-ons:
https://addons.mozilla.org/en-US/firefox/addon/firebug/
https://addons.mozilla.org/en-US/firefox/addon/formbug/

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sat Oct 29, 2011 08:46 PM Quote
esb1922
Guest
Avatar

thanks, I thought I got them all but it still isn't working. Why did I miss?

a=updatepage
update=d
type=bid
seq=1
del1=1
id1=EBAYIDXXXXXX

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Sun Oct 30, 2011 12:34 AM Quote
Sashka
Support
Avatar
Posts: 3650
Member Since: Feb 13, 2008
Location: www.myibidder.com

id1 is for item id, not ebay id.

Install the add-ons I mentioned before (or similar ones) to check what's getting submitted.

Rate: - Rate: Reset Rate: +  Reply Top Last Message
 Mon Oct 31, 2011 10:49 PM Quote
esb1922
Guest
Avatar

Thanks for all your support

Rate: - Rate: Reset Rate: +  Reply Top Last Message
Forums IndexNew TopicReply
 
 1   2 
All times are GMT . The time is 01:26am.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.