Ok. I know there are lot of posts regarding lost sessions navigating between pages, but none of them is like the following:
I'm working on a site that in the shared hosting account works well.
When I moved the site to a cloud server I could only login. But when I was in, any action on any page threw out the user versus the login page, with not session variables anymore somewhere.
Everything was fine for me, the session path was writable, the sessions were correctly settled and till the first page the sessions were dispayed correctly at the begin and and the end of the html code.
After 1 day going crazy I discovered that for every single error in a page (css file not found or image not found) the session got lost. So, one, by one, I correct those errors (wich is very good by the way) and now the site is working again.
My question is where I can configure a linux server behaviour such these, saving and writing sessions even if there is some error in the programming?
I would like to know it because if the shared hosting works like that, means that somewhere there is a directive to do that... an I can't find anything till now.