ID:               44134
 User updated by:  doc+phpbugs at skynet dot ie
 Reported By:      doc+phpbugs at skynet dot ie
-Status:           Feedback
+Status:           Closed
 Bug Type:         Session related
 Operating System: ubuntu linux
 PHP Version:      5.2.5
 New Comment:

hello, yes, sessions were being started automatically, and thanks, that
solved the problem. I didn't realise you could get them locking like
that.

Thanks, closing the bug.


Previous Comments:
------------------------------------------------------------------------

[2008-02-24 00:31:14] [EMAIL PROTECTED]

s/complete/incomplete/ :)

------------------------------------------------------------------------

[2008-02-24 00:30:54] [EMAIL PROTECTED]

That's still quite complete script, or do you start sessions
automatically? (it's missing session_start(); :)

And as you're obviously calling another script on same server with same
session as the current one, you should be using this:

http://php.net/session_write_close

You should put the call to session_write_close(); before the
curl/simplexml calls.

------------------------------------------------------------------------

[2008-02-19 17:46:24] doc+phpbugs at skynet dot ie

Sorry, I meant to add that the url listed here isn't real but the
result should happen with any url which utilises a session on
connection.

------------------------------------------------------------------------

[2008-02-18 18:55:45] doc+phpbugs at skynet dot ie

<?php
define('DATAURL','http://magpiedev.com/data.php');
$data_source_url = DATAURL.'?bget=1&'.session_name().'='.session_id();
$basket_details = simplexml_load_file($data_source_url);
?>

------------------------------------------------------------------------

[2008-02-18 09:36:18] [EMAIL PROTECTED]

Please provide a proper reproducing script. The one here is not
enough.
Proper script is 100% self-contained and starts with <?php and ends
with  ?> (for the sake of being clear where the script really ends :)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/44134

-- 
Edit this bug report at http://bugs.php.net/?id=44134&edit=1

Reply via email to