Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Mathijs
Thank you very much :D. Ill just create an class which will handle this :). It works like a charm.. Thx. Thomas Munz wrote: session_write_close(); Ex: session_start(); $asdf = $_SESSION; //-- get all datas session_write_close(); //-- close session on Wednesday 17 May 2006 16:36, Mathijs wr

Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Thomas Munz
session_write_close(); Ex: session_start(); $asdf = $_SESSION; //-- get all datas session_write_close(); //-- close session on Wednesday 17 May 2006 16:36, Mathijs wrote: > Robert Cummings wrote: > > On Wed, 2006-05-17 at 10:11, Mathijs wrote: > >> I Have an very strange problem. > >> > >> When

Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Mathijs
Robert Cummings wrote: On Wed, 2006-05-17 at 10:11, Mathijs wrote: 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_

Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Robert Cummings
On Wed, 2006-05-17 at 10:11, Mathijs wrote: > 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

[PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Mathijs
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 refres