Need help with restoring cookies
-
I tried looking in the site but I think the tutorials are old and I couldn't get it to work
I need after logging into account to save the cookies so when the bot resets it will login with the restored cookies and not by typing credentials again
Thanks in advance for any help
-
May be save to DB?
1 load record
2 parse record and get cookies
3 apply cookes
4 load url
5 any any any
6 get cookies
6 set to DB to record cookies
7 colose app done
-
.
-
@vitsh1974
I don't quite understand, is it possible for you to upload a demo script pleaes?
Thanks
-
Try to store them in global variable. As Global variable wont destroy self on the next run, you can use it. Or like @vitsh1974 said you can store them into database and on beginning read and apply them again.
-
@gudolik said in Need help with restoring cookies:
Global variable
Thank you I will try, what I tried before was the function to save cookies and writing the cookies to a file and then restore cookies but it didn't work I used this tutorial https://wiki.bablosoft.com/doku.php?id=how_to_work_with_cookies
-
I don't understand how to do any of what u guys said :( a demo script would be appreciated
-
anyone?
-
-
how to use this with multi threading?