I have a "primary" PHP script (actually a set of scripts) all of whom the user interacts with through the browser. I've had no problems using the site as the session information works from page to page.
However, one of the scripts needs to directly call another "secondary" php script on my site using CURL and that "secondary" script needs to get information about the php session (which contains the currently logged in user, etc) from the "primary". I need to pass on the session information from the "primary" php script to the "secondary" one in CURL. Any suggestions on how I can do that?
No, I dont want to use cookies here (too insecure).