Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
GeneralCookies problem... Pin
profoundwhispers2-Feb-04 14:20
profoundwhispers2-Feb-04 14:20 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 5:16
protectorHeath Stewart3-Feb-04 5:16 
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 7:52
profoundwhispers3-Feb-04 7:52 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 8:54
protectorHeath Stewart3-Feb-04 8:54 
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 9:17
profoundwhispers3-Feb-04 9:17 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 9:38
protectorHeath Stewart3-Feb-04 9:38 
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 9:58
profoundwhispers3-Feb-04 9:58 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 10:25
protectorHeath Stewart3-Feb-04 10:25 
Actually, "application/x-www-form-urlencoded" uses the UTF-8 encoding, so use Encoding.UTF8 to get the bytes instead and see if that helps. Since you're only using ASCII characters, though, it might not. It's worth a try, anyway.

No, you don't have to set the object to null. Calling Close closes the stream (closes the native handle). The GC will clean it up once it goes out of scope and either the application is idle or garbage collecting is necessary.

Including that submit value shouldn't be necessary.

I'm really not sure what else to tell you. It should be working according to the documentation and from experience.

The only other thing I can think of is that there might be another cookie (like a session ID) that eBay is expecting. Log out of eBay using Internet Explorer and look at the Cookies directory for a file named username@ebay.com.txt or something like that. Open it in notepad and see what values it has (if any).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 10:40
profoundwhispers3-Feb-04 10:40 
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 10:46
profoundwhispers3-Feb-04 10:46 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 10:53
protectorHeath Stewart3-Feb-04 10:53 
GeneralC# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla2-Feb-04 13:12
Arun Bhalla2-Feb-04 13:12 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 5:22
protectorHeath Stewart3-Feb-04 5:22 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 7:49
Arun Bhalla3-Feb-04 7:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 8:49
protectorHeath Stewart3-Feb-04 8:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 10:26
Arun Bhalla3-Feb-04 10:26 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 10:32
protectorHeath Stewart3-Feb-04 10:32 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 11:08
Arun Bhalla3-Feb-04 11:08 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 11:15
protectorHeath Stewart3-Feb-04 11:15 
GeneralWinForms app displays differently on different computers. Pin
~michL~2-Feb-04 12:47
~michL~2-Feb-04 12:47 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 5:29
protectorHeath Stewart3-Feb-04 5:29 
GeneralRe: WinForms app displays differently on different computers. Pin
~michL~3-Feb-04 13:44
~michL~3-Feb-04 13:44 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 17:54
protectorHeath Stewart3-Feb-04 17:54 
GeneralProgramatically iterating through controls in C# csharp or VB.net Pin
billoo2-Feb-04 11:51
billoo2-Feb-04 11:51 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
Heath Stewart2-Feb-04 12:05
protectorHeath Stewart2-Feb-04 12:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.