By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,565 Members | 1,677 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,565 IT Pros & Developers. It's quick & easy.

Logging in to eBay "in code"

P: n/a
I have found it impossible to achieve this step. I tried HttpWebRequest with
CookieContainer instantiated. It always returns an eBay page titled "Cookie
Error" that says my browser does not accept cookies. I did set the UserAgent
correctly to replicate Internet Explorer (which works perfectly well by the
way).

Any solutions please? I'm desparate!
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
the form page from ebay may already have the cookie in it. Therefore,
simply posting to the form response address without already setting the
cookie will not help.

Post a web request to www.ebay.com. Get any redirects and cookies. Then
visit the login page. get any redirects and cookies. Then post your login
response with all cookies you've collected.

--- Nick

"Sammy" <sa***@profoundwhispers.com> wrote in message
news:OD**************@TK2MSFTNGP11.phx.gbl...
I have found it impossible to achieve this step. I tried HttpWebRequest with CookieContainer instantiated. It always returns an eBay page titled "Cookie Error" that says my browser does not accept cookies. I did set the UserAgent correctly to replicate Internet Explorer (which works perfectly well by the way).

Any solutions please? I'm desparate!

Nov 15 '05 #2

P: n/a
Are you aware they have a 'developers' program?

http://developer.ebay.com/DevProgram/index.asp

Sammy wrote:

I have found it impossible to achieve this step. I tried HttpWebRequest with
CookieContainer instantiated. It always returns an eBay page titled "Cookie
Error" that says my browser does not accept cookies. I did set the UserAgent
correctly to replicate Internet Explorer (which works perfectly well by the
way).

Any solutions please? I'm desparate!


--
Bret Pehrson
mailto:br**@infowest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl>>
Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.