Why does the session id change when requesting through ajax in php? Why does the session id change when requesting through ajax in php? ajax ajax