i have a page that shows a value from session, lets call it www.domain-a.com/master.php and if i type it directly from the browser, it shows me the session value.
but wh
You should be able to retrieve the content with curl. See this answer (you can probably drop the browser spoof option).