Edit a cookie

  • 18 years ago

    Can someone explain me how I can edit cookie information ?

  • 18 years ago

    I doubt you can do this. The cookie file format doesn't come up on the file type list (at least i can't find it) and I would like to see the code to edit a cookie in the temporary internet files folder. Notepad will not load a cookie at all (won't even try).


    Try searching on planet source code or someplace for a cookie editor. But it highly doubt that you'll find anything.

  • 18 years ago

    Try using one of the HTML active X controls.

  • 18 years ago

    Do you have an example ?

  • 18 years ago

    hit Cntl+T
    Scroll down to Microsoft HTML Object Library
    Select that.
    Press ok.


    here is the code to get the cookies

    Code:

    Dim Doc as HTMLDocument, Cookies as String
    Cookies = Doc.Cookie


    I think you can do an assignment with Doc.Cookie aswell.  Let me know if it works, I'd like to know.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Engineers are all basically high-functioning autistics who have no idea how normal people do stuff.” - Cory Doctorow