I am using the
drupal_http_request method and It seems to work well. When I use it, I send by POST from site A, a return URL (which would be site C) to site B that I am directing drupal to go to. So site A goes to B, but returns to A at this point.
I noticed that if I give the die command (on site A) right after I use
drupal_http_request my browser opens to site C instead of going right back to A. Would this happen even if site C was on the same domain as site A? Obviously this would not be the same exact location of A.
e.g. A = www.example.com/test and C = www.example.com/test2