Re: [PHP] fsockopen and session_start

2005-03-08 Thread Pedro Garre
*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 20

Re: [PHP] fsockopen and session_start

2005-03-07 Thread Jason Wong
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

[PHP] fsockopen and session_start

2005-03-07 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, I am using fsockopen to simulate a POST to another page (test_post.php) within the same server. Data sent to the socket is: "POST $uri HTTP/1.1\r\n". "Host: $host\n". "User-Agent: mandapost\r\n". "Cookie: ".ses