@clepro Cookies live for a certain amount of time. The lifetime depends on the site. Somewhere they are deleted after 30 days, somewhere after 3 days. I think that is the reason for this.
In such cases in the scripts I check "is the user authorized". If not, then I carry out authorization by login and password.