Friday, 23 August 2013

php curl cookies cache

php curl cookies cache References I built a php script which register/login on a website through cURL functions. Anyway, it is working great on my local xampp server but when mpoving it on my online hosting I am getting a problem with the cookies. After running the script first time the cookies are getting cached and the second time I try to run the script I\'m getting an error from the website I try to login because of Already logged in or similar. I tried to delete the text files where the cookies are stored, I tryed using different computers, IP\'s, browser but nothing seem to work. I need to wait 3-4h until the cookies expire. So my question is: Can cookies somehow be cached by the server ? On my local server it is working just perfect. Thank you !

No comments:

Post a Comment