Create cookies

Discussion in 'Code Snippets and Tutorials' started by Billy, Apr 28, 2007.

  1. Billy

    Billy Level IV

    Joined:
    Feb 21, 2007
    Messages:
    1,856
    Likes Received:
    39
    is it possible to create cookies and tell what their value is with vb?
     
  2. Snowman

    Snowman Level IV

    Joined:
    Apr 9, 2007
    Messages:
    825
    Likes Received:
    0
    Depends on which HttpWrapper youre using. With the one I use its possible. Which do you use?
     
  3. Billy

    Billy Level IV

    Joined:
    Feb 21, 2007
    Messages:
    1,856
    Likes Received:
    39
    im using rickys wrapper
     
  4. Snowman

    Snowman Level IV

    Joined:
    Apr 9, 2007
    Messages:
    825
    Likes Received:
    0
    I use the same. The way you set a cookie with rickys wrapper is the following:
    Code (Text):
    1. w.CookieValue_SET "index of cookie", "value of cookie"
    To get it use this:
    Code (Text):
    1. w.CookieValue_GET "index of cookie"
    I'm not 100% sure how you set the name of the cookie instead of using an index but ill look into it and tell you when I figure it out.