Search:
Namespaces
Discussions
.NET v1.1
Feedback
How do browsers receive/send cookies?
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngvb' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Peter Brunone (VIP)
When one makes an HTTP request and the server tries to set a cookie, is
there any way of trapping the value and using it in subsequent requests
(i.e. using a different
HttpWebRequest
instance)?
If not, how exactly does one set the
CookieContainer
property to enable
persistence of cookies between requests made by the same
HttpWebRequest
instance? Basically I just want to be able to carry an AspSessionID cookie
around with me to simulate a single session; any thoughts?
Thanks as always...
Peter B.
Reply to this message...
Remas Wojciechowski
Peter,
a couple of weeks ago I had a similar requirement. I remember havin HUGE
problems with the
CookieContainer
. Huge = that property doesn't seem to work
(I can't remember whether it was the setting or the retrieving of cookies or
both). I don't have access to that code right now (I'll have it on Monday)
but if memory serves me well I checked/wrote adequate headers to simulate
the cookies.
Contact me on Monday if you don't have your problem resolved by then.
hth,
Remas
http://www.aspalliance.com/remas
----- Original Message -----
From: "Peter Brunone" <
Click here to reveal e-mail address
>
To: "aspngvb" <
Click here to reveal e-mail address
>
Sent: Friday, December 14, 2001 5:38 PM
Subject: [aspngvb] How do browsers receive/send cookies?
[Original message clipped]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Reply to this message...
Ryan Simmenb
Can you please post or email me the solution you've found? We are having similar problems with
CookieContainer
.
--------------------------------
From: Ryan Simmenb
Reply to this message...
System.Net.CookieContainer
System.Net.HttpWebRequest
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com