Re: fsockopen and session_start
| From: | Jason Wong | Date: | Tue, 08 Mar 2005 05:15:28 +0000 |
| Subject: | Re: fsockopen and session_start | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210205@lists.php.net to get a copy of this message | ||
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
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts