Re: R: [PHP] session_start() and fopen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux