I saved some cookie lines in the database consisting of cookie, site, but when I retrieve them, they don't come mixed—it always goes from the first to the second. I used this function for URLs, for accounts, and only here is it causing me problems. Where am I going wrong? Thanks.
Yes, i also faced this problem, what i did was if file size was > 100kb then i delete cookies and bot will check if cookies are not present then it will call login function and new cookies file will be saved which will be less than 100 kb.