Session within a session lock?
| From: | Steve Wardell | Date: | Wed, 22 Oct 2003 00:42:45 +0000 |
| Subject: | Session within a session lock? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167032@lists.php.net to get a copy of this message | ||
I have a page on my PHP site that needs to access itself. I open a socket connection and pass in the HTTP request header including a cookie string such as:
Cookie: PHPSESSID=766bc531e9185be6b54206c944f258d9
With the session name and id of the user's current session (as I want the request to the web server to utilize the same PHP session). However, if I use the same session ID things seem to lock and the fread's from the socket just don't return any data. Why would there be a lock in doing a request within a request to the same PHP session?
Thanks,
Steve