Click here to Skip to main content
15,881,715 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image Rotation with GDI Pin
MrEyes21-Jan-04 6:07
MrEyes21-Jan-04 6:07 
GeneralXML Pin
Gary Kirkham20-Jan-04 8:16
Gary Kirkham20-Jan-04 8:16 
GeneralRe: XML Pin
Heath Stewart20-Jan-04 8:34
protectorHeath Stewart20-Jan-04 8:34 
GeneralRe: XML Pin
Gary Kirkham20-Jan-04 8:56
Gary Kirkham20-Jan-04 8:56 
GeneralPopUp Menu Pin
Inam20-Jan-04 7:33
Inam20-Jan-04 7:33 
GeneralRe: PopUp Menu Pin
Mazdak20-Jan-04 7:46
Mazdak20-Jan-04 7:46 
GeneralImportant !! Download and cookies Pin
bsargos20-Jan-04 7:20
bsargos20-Jan-04 7:20 
GeneralRe: Important !! Download and cookies Pin
Heath Stewart20-Jan-04 8:29
protectorHeath Stewart20-Jan-04 8:29 
See the HttpWebRequest.CookieContainer property documentation in the .NET Framework SDK. Provide a CookieContainer to store cookies.

Also, a server does not search your cookie collection. That would be extremely dangerous (although there are security holes in implementations some times that allow servers to request a different cookie)! The browser sends cookies for the server and path relative to the request.

You'll have to devise a way to get the cookie and put it in the CookieContainer, though. The HttpWebRequest.Credentials property may help as well since you require authentication, those forms authentication makes implementations like this difficult.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Important !! Download and cookies Pin
bsargos20-Jan-04 12:28
bsargos20-Jan-04 12:28 
GeneralOpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:11
Radoslav Bielik20-Jan-04 7:11 
GeneralRe: OpenFileDialog initial directory Pin
Mazdak20-Jan-04 7:42
Mazdak20-Jan-04 7:42 
GeneralRe: OpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:51
Radoslav Bielik20-Jan-04 7:51 
QuestionHow to make Combinations Pin
jacal9920-Jan-04 7:02
jacal9920-Jan-04 7:02 
AnswerRe: How to make Combinations Pin
MaxGuernsey20-Jan-04 8:42
MaxGuernsey20-Jan-04 8:42 
AnswerRe: How to make Combinations Pin
leppie21-Jan-04 6:17
leppie21-Jan-04 6:17 
Generalconvert textstring to html Pin
Herman<T>.Instance20-Jan-04 5:26
Herman<T>.Instance20-Jan-04 5:26 
GeneralRe: convert textstring to html Pin
Heath Stewart20-Jan-04 5:39
protectorHeath Stewart20-Jan-04 5:39 
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 5:17
Jose Fco Bonnin20-Jan-04 5:17 
GeneralRe: Properties Page Pin
Heath Stewart20-Jan-04 5:30
protectorHeath Stewart20-Jan-04 5:30 
GeneralSystem.Diagnostics.Process.Start Pin
elena1234520-Jan-04 4:22
elena1234520-Jan-04 4:22 
GeneralRe: System.Diagnostics.Process.Start Pin
Heath Stewart20-Jan-04 4:36
protectorHeath Stewart20-Jan-04 4:36 
GeneralCOM Interop Pin
Ungi.20-Jan-04 3:47
Ungi.20-Jan-04 3:47 
GeneralRe: COM Interop Pin
Heath Stewart20-Jan-04 4:24
protectorHeath Stewart20-Jan-04 4:24 
GeneralRe: COM Interop Pin
Ungi.20-Jan-04 18:04
Ungi.20-Jan-04 18:04 
GeneralRe: COM Interop Pin
Heath Stewart21-Jan-04 3:42
protectorHeath Stewart21-Jan-04 3:42 

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.