how to quote cookie values

Discussion in 'ASP .Net' started by Andy Fish, Sep 27, 2007.

  1. Andy Fish

    Andy Fish Guest

    hello,

    I'm looking for a way to round-trip a cookie value which contains semicolons
    in asp.net 2.0

    I see in http://www.faqs.org/rfcs/rfc2068.html that "a string of text is
    parsed as a single word if it is quoted using double-quote marks"

    but whether I add my own quotes or not when specifying the value, the parts
    of the cookie value after the first semicolon get lost when the cookie is
    round-tripped to the browser.

    can anyone explain what is going on and how I should fix this

    TIA

    Andy
    Andy Fish, Sep 27, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    13,140
  2. Stimp
    Replies:
    2
    Views:
    2,232
    Stimp
    Sep 20, 2006
  3. Eric Layman
    Replies:
    3
    Views:
    615
    Rad [Visual C# MVP]
    Apr 14, 2007
  4. Replies:
    6
    Views:
    432
    Stefan Ram
    Jun 15, 2008
  5. Valery Khamenya
    Replies:
    3
    Views:
    702
Loading...

Share This Page