Re: Posting data using fsockopen() causes session problem

From: Date: Fri, 10 Jan 2003 12:12:32 +0000
Subject: Re: Posting data using fsockopen() causes session problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131098@lists.php.net to get a copy of this message
You can make a special case - if a special cookie is present, session is not required. Then your client script would send the cookie. Max Davy wrote:
Hi, I finally figured out how to use fsockopen() to post data when my server responded with a Document Moved error. I knew the document was where I said it was ... After many hours I realised that the location the document had allegedly been moved to was the login screen that the user would be redirected to if they did not have a valid session id. I removed the session handling and ... success! This is not an acceptable solution because I need the session to be valid. Any help would be most appreciated. Thanks, Max -- Oz Impact Multimedia Innovate, Immerse, Inspire www.ozimpact.com


« previous php.general (#131098) next »