Ajax (xmlHttpRequest) and session_start() problem.
| From: | Mathijs | Date: | Wed, 17 May 2006 14:11:23 +0000 |
| Subject: | Ajax (xmlHttpRequest) and session_start() problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-236345@lists.php.net to get a copy of this message | ||
I Have an very strange problem.
When i execute an very simple Ajax request to an PHP script wich just print one line and i put an sleep(20) infront of it, it works perfectly when i refresh the page.
BUT..
When i put session_start() at the top, i can't refresh the page anymore.
It won't refresh untill the server responed.
When i remove the session_start(), i can refresh anytime i want.
Is this a know problem?
Does someone knows an solution?
Thx for the help.