Reply to Re: Deleting session with connection open

Your name:

Reply:


Posted by Derek Fountain on 01/01/08 14:45

> 1. If the FLV file is served/created/altered with PHP, get all session
> variables you need straight at the beginning, and call
> session_write_close() immediatelly after it before doing any other work.

After quite a bit of Googling, I've kind of arrived at that position
myself. :) I put the session_write_close() just before the data stream
is written, and that appears to have solved it.

But thanks for your input. I arrived at what I thought was the right
place via a spot of informed guesswork; to have someone then confirm
that I have indeed arrived in the right place makes me a lot more
confident in my fix!

--
Derek Fountain on the web at http://www.derekfountain.org/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация