I want to make a curl call to another application on the same server, and have the curl call to to have the same login session as the user.

Is this possible?