PHP Session not written after Output(echo or print_r on external ajax Call)?

Thank's for your help. I was doing everything in the right order and still session data was not being written. Session names where necesary because sometimes we test many sites on the same domain using the same custom CMS.

So, finally, after making lots of test and no luck, I found that register globals was active on this server(we never use it, code was written having this option off in mind of course), but it messes with sessions!. Switching this off made a huge change. No more problemas.

I also made a custom session handler in DB, so I could track the problems in an more centralized way. Conclussion: Never use register globals + named sessions, an complex data in sessions. Anyway, I will give this issue more time and more tests.

Ajax calls are also sometimes too fast, I had to put a sleep command so writing the session data was really done.Thanks.

I am not sure but few suggestion I think may be helpful.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions