My problem is simple but complex at the same time.
I'm developing a website with backoffice for content maintenance. I have a login form that works fine but when call for the first time a script to update a record in the database through a form, the cookie with PHPSESSID is lost and all login information is lost too. after this error, I login again (without closing the browser) on the website and the cookie don't get lost anymore. This error only append again when I close the browser and reopen it.
I'm busting my brain for almost 2 months. Please help me with this issue.
Thanks in advance.
Best Regards.
Cookies are lost with strange behavior
Moderator: General Moderators
Re: Cookies are lost with strange behavior
That would lead me to suspect that your code contains an error.
Re: Cookies are lost with strange behavior
then, tell me why it only append the first time I login. Almost every script works fine, even one that contains a form. Only two scripts in the entire website have this problem, and only have it on the first time I login on the website. After de error occurs, doesn't append anymore, even when I call those two scripts.
I can put the scripts and my php.ini file if you want.
I can put the scripts and my php.ini file if you want.