Re: Can I user IE's Cookie? - WeOnlyDo Discussion board

Re: Can I user IE's Cookie? (General questions)

by woddrazen, Wednesday, July 15, 2009, 10:58 (5609 days ago) @ bcm818

Hi,


You can set manually in wodHttpDLX HttpCookies object Add Method any value. So I think yes you can send IE cookies with wodHttpDLX.

Here is example how
[code]http1.Request.Cookies.Add http1. IE_cookie_name_1, IE_cookie_value_1
http1.Request.Cookies.Add http1. IE_cookie_name_1, IE_cookie_value_2
...[/code]
More help for HttpCookies object Add Method you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpCookies~Add.html

Of course you can receive and send cookie inside wodHttpDLX.
[code]http1.Blocking = True
http1.Get http://somepage.com

For i = 0 To http1.Response.Cookies.Count - 1
http1.Request.Cookies.Add http1.Response.Cookies(i).Name, http1.Response.Cookies(i).Value
Next [/code]
Let us know how it goes.


Regards,
Drazen


Complete thread: