skali Posted May 1, 2007 Share Posted May 1, 2007 Hi, I have a system where my application is hosted. I have multiple websites on various servers, i am using curl to query the main application now my question is that is it possible to send sessions on any of my websites to the main application located on some server through curl. Basically is it possible to send php session variables through curl? Regards, Link to comment https://forums.phpfreaks.com/topic/49402-maintaining-sessions-across-curl-requests/ Share on other sites More sharing options...
invincible_virus Posted October 5, 2008 Share Posted October 5, 2008 I am also trying to achieve the same. But I guess its not possible, as per the documentation curl_init() initializes a new session. Link to comment https://forums.phpfreaks.com/topic/49402-maintaining-sessions-across-curl-requests/#findComment-657521 Share on other sites More sharing options...
GingerRobot Posted October 5, 2008 Share Posted October 5, 2008 What do you mean by 'send sessions'? If you are trying to stay logged in across requests or something similar, you should be ok if you just supply a cookie jar with curl_setopt Link to comment https://forums.phpfreaks.com/topic/49402-maintaining-sessions-across-curl-requests/#findComment-657712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.