On Thu, September 14, 2006 1:17 pm, Fabri wrote:
> Hi Christopher: this is just a simplified code, I use it to generate
> some
> xml file, no loop is present.
>
> Try it as it is: you will find that two files will be generated while
> it
> should be only one.
> If you remove 'session_start()' then only one file will be generated:
> that's
> correct!

I suspect you are seeing a browser issue...

If your browser chooses to access the URL twice, just to get the
content, there's not much PHP can do about that...

It's only triggered by the session_start() because the browser is
stoopid about cookies, in some fashion.

Since all browsers are stoopid about cookies in some fashion, this
should come as no surprise. :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to