Reply
Problem Using cURL sessions and cookies.
Old 06-25-2008, 08:12 PM Problem Using cURL sessions and cookies.
Novice Talker

Posts: 6
Name: Marc
Location: England
I have a problem with an application i'm installing on my system. It's a phpbb3 forum, i have configured it to work as a stand alone system, however when i try to include it as an application using curl the session never saves and doesn't keep the user logged in. I pass the cookies using CURLOPT_COOKIE, and the cookies are read correctly inside the page, but it still doesn't save the session. I'm not very experienced with curl, any ideas as to what could be causeing the problem?

Thanks for any help you can offer
Marc
Marc.Qualie is offline
Reply With Quote
View Public Profile Visit Marc.Qualie's homepage!
 
When You Register, These Ads Go Away!
Old 06-26-2008, 01:40 PM Re: Problem Using cURL sessions and cookies.
rogem002's Avatar
Webmaster Talker

Posts: 607
Name: Mike
Location: United Kingdom
It's most likely the cookie's are not being passed correctly. You also need to use CURLOPT_COOKIESESSION to send session cookies
__________________
Website Services
PHP Code:
if(Added_Talkupation($post) == TRUE){iHug($you);} 
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 06-27-2008, 03:10 PM Re: Problem Using cURL sessions and cookies.
Junior Talker

Posts: 4
And if you want you can use Snoopy HTTP class that you can download from phpclassess.org.
xbit is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem Using cURL sessions and cookies.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 3.33180 seconds with 12 queries