Reply to Re: [PHP] fsockopen and session_start

Your name:

Reply:


Posted by Pedro Garre on 03/08/05 15:56

*This message was transferred with a trial version of CommuniGate(tm) Pro*

It works now. Thanks Jason.

I had never realized that once $_SESSION is set, and if you are not going to
modify it, the session could be closed. It does not seem a good programming
practice, thou.

On Tuesday 08 March 2005 05:15, Jason Wong wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
>
> On Monday 07 March 2005 22:02, Pedro Garre wrote:
> > I am using fsockopen to simulate a POST to another page (test_post.php)
> > within the same server.
>
> It's not clear how exactly you're executing your code. I suspect that you
> haven't closed the session before doing your simulated POST. Your order
> of execution should be something like:
>
> start session
> assign values to session
> close session
> do the simulated POST

[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

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