cURL and sessions...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

cURL and sessions...

Post by Burrito »

I have written some things in the past with cURL and never had any issues with it not keeping sessions. By default libcurl is supposed to keep and maintain a session cookie but I've just run into an issue where it's not. I'm trying to log in to a site so I can transfer a file and for some reason after I post my log in information, it's taking me right back to the log in screen.

I have a feeling that I'm missing a curl_setopt() param but I don't know what it could be. Can anyone shed some light on this?
Post Reply