473,806 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2207
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***@profound whispers.com> wrote in message
news:OD******** ******@TK2MSFTN GP11.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**@inf owest.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
7548
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 require_once('..\library_database\Connections\onlinequote.php'); ?> <?
12
1293
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
968
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 Cursor.Position code was copied from another post. I sure like to hear if there is a better way but also I'd like confirmation that this is OK if that is so.
1
1354
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" Me.WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 0, 0 this is not good for me: Text1.Text = WebBrowser1.Document.documentElement.OuterHTML
1
1934
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 and off.
4
3902
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 &quot;&quot; instead of "" otherwise I get an error message. Can anyone suggest how to write it so that it writes &quot; instead of "". I have tried all combinations of adding &quot; to the code but as soon as I think I am there I get throw out again. if...
4
1378
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 don't know on ASP.NET from which client the files are comming. I can modify the form action parameter with javascript to say, e.g. upload.aspx?sessionID=X, where X is ASP.NET session ID read from cookie.
1
2426
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 to the service, which will then be compared to session information stored in SQL Server. However, for each service call a new client proxy is created, i.e. I'm not reusing the same proxy over and over. Essentially, I need to emulate what...
5
7920
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 postings but I haven't seen any clear resolution.
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10373
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.