If I’m using PHP to perform a cURL POST to a remote server running code containing session_start(), is it possible to access session variables set on the local machine on the remote?
If I’m using PHP to perform a cURL POST to a remote server running
Share
Unless you’ve got PHP trans_sid option turned on (BAD idea), POST has nothing to do with session values. That’s mediated through a standard cookie.
Cookies are bound by same-domain security settings – they CAN be shared between hosts in the same domain (e.g. foo.example.com and bar.example.com), but an Amazon cookie cannot be shared with Yahoo.