EDN Admin
Well-known member
Im new to VB and Im still learning so be patient with me and please answer me with some details if you can!
I try to make a "web automation" desktop tool that will use a lot of user credentials to login in different accounts on a site (as different users). The app will use HTTP requests (WebClient and framework 4.5 I think) ... I have found tutorials on how to save the cookies in a specified folder (specified by me in the code, different from the default iexplorer cookies folder) and I have also found some good libraries that can do that with very little code BUT: I need to name the cookies using the username of the account ! So far I have seen that the cookies are stored using the name of the site that use that cookie but this will always override the cookies when I login using another account... I want my app to beable to store the cookies in a custom location that I may choose and I want every cookie to be saved with a custom name so I can login next time without sending the login form again ... I have done this app using Ubot and curl now I want to do it using a real programming language ... can someone show me a snippet of code on how can I save the cookies with a custom name and then send that specific cookie attached to a POST request??
Thank You!
View the full article
I try to make a "web automation" desktop tool that will use a lot of user credentials to login in different accounts on a site (as different users). The app will use HTTP requests (WebClient and framework 4.5 I think) ... I have found tutorials on how to save the cookies in a specified folder (specified by me in the code, different from the default iexplorer cookies folder) and I have also found some good libraries that can do that with very little code BUT: I need to name the cookies using the username of the account ! So far I have seen that the cookies are stored using the name of the site that use that cookie but this will always override the cookies when I login using another account... I want my app to beable to store the cookies in a custom location that I may choose and I want every cookie to be saved with a custom name so I can login next time without sending the login form again ... I have done this app using Ubot and curl now I want to do it using a real programming language ... can someone show me a snippet of code on how can I save the cookies with a custom name and then send that specific cookie attached to a POST request??
Thank You!
View the full article