I use php curl and I use a cookie jar for multi-step scanning. I need dynamically created cookies from the server.
But in one step, some cookies are created using javascript. Since curl does not run javascript, I need to add curl cookies at this point.
The only way I can do this is to manually read the cookie and set all the cookies plus the ones I want to use curl_Setoptand CURLOPT_COOKIE.
Is there a way to add cookies without losing existing ones?
source
share