|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to have commas in Cookies (HttpWebRequest)?In the Cookie class that is used with the HttpWebRequest class, commas
are not permitted in the Value property of a Cookie object. This looks like unusually restrictive as I know of many cookies out there that contain commas (eg Vignette URLs), and most other programming models allow commas. Is there a way to overcome this in .NET Framework 1.1? Thanks. kingkon***@gmail.com wrote:
> In the Cookie class that is used with the HttpWebRequest class, commas Have you tried urlencoding the commas?> are not permitted in the Value property of a Cookie object. This looks > like unusually restrictive as I know of many cookies out there that > contain commas (eg Vignette URLs), and most other programming models > allow commas. > > Is there a way to overcome this in .NET Framework 1.1? > > Thanks. > -- Rob Schieber Thanks. But do web servers URLdecode for cookies?
I tried URLencoding it, and the response from the web server remains URLencoded. |
|||||||||||||||||||||||