Hi All,
The title may not make very clear what I am trying to achieve, so I'll try and explain it better now.
I have 2 sites. I want to call the login service on site 2 from site 1 using cURL; the URI for site 2 looks like this (and is called via cURL on site 1):
http://secondsitedomain.com/remote?username=admin&password=admin
This, I was hoping, would log the user into site 2 from site 1 - then show site 2 in an iFrame inside of site 1.
However, it doesn't appear to create the logged in session on site 2 when I call that URI via cURL.
So, my question is, does a call like the URI above not create the session locally when called via cURL? Of course it works as expected if the URI is put directly into the browser address bar! Just not when called via cURL.
Any pointers muchly appreciated,
Brick...