cURL interfering with Sessions ?
Posted: Tue Mar 28, 2006 1:34 am
Hi
In one my sites, Im using cURL and sessions.
This exists in one script :
And I have sessions in the my session script which is included in all pages anyway - so session_start() is started always.
Question - Does cURL in anyway affect session handling routines ?
Because now Im getting this which wasnt there before - I thought I had cleared all my session problems !
My session data are stored in a MySQL db and curl's cookie in C:\Program Files\Apache Group\Apache2
Thanks
In one my sites, Im using cURL and sessions.
This exists in one script :
Code: Select all
curl_setopt ($handle, CURLOPT_COOKIESESSION, TRUE);
curl_setopt ($handle, CURLOPT_COOKIEFILE, "cookie.txt");
curl_setopt ($handle, CURLOPT_COOKIEJAR, "cookie.txt");Question - Does cURL in anyway affect session handling routines ?
Because now Im getting this which wasnt there before - I thought I had cleared all my session problems !
Code: Select all
Warning: session_module_name() [function.session-module-name]: A session is active. You cannot change the session module's ini settings at this time. in xxx.phpThanks