473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Logging in to eBay "in code"

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
2 2187
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Phill Long | last post by:
this is the the code, now here is the final result.... I get one combo box and one tex box come up, but they are empty... DAMN!!! Any ideas on what Im doing wrong please.. Thanks Again <?php...
12
by: Antonio Policelli | last post by:
hello, this is to be a loaded question!! i do not really know what "managed code" means. can somebody explain it to me? AP
0
by: **Developer** | last post by:
The code is to snap the mouse cursor to a given button but only if the user allows it. I've never read ControPanel values and wonder if there is a better way to get the info. The...
1
by: eewwttww | last post by:
how to show the "txt code" that the WebBrowser wont to save when he wont to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" ...
1
by: QLD_AU | last post by:
I am having trouble when viewing the code behind a form, any events i do are shown, however the Windows Form Designer generated code Section is not shown, Does anyone know how to turn this on...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
4
by: Kocureq | last post by:
Hi all, I'm using a default, InProc ASP.NET session provider, ASP.NET 3.5. I want to use a nice flash file uploader. The problem with it is that it can't send cookies with the files, so I...
1
by: nathan.alden | last post by:
I have a Windows application that must "log in" to a remote service. Once logged in, for all subsequent service calls the Windows application should somehow pass a "session context" in each message...
5
by: TC | last post by:
Hey All, I'm trying to upload files via FTP and I'm using FtpWebRequest and WebClient. Unfortunately, I'm receiving a "Not Logged In" error. I know that others have seen this as I've seen...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.