Can I user IE's Cookie? (General questions)
hello,can i get and user IE's cookie with wodhttp?
Just like the inet in VB.
Re: Can I user IE's Cookie?
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