Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-22-2008, 11:56 PM #1
- Join Date
- Jan 2005
- Thanked 0 Times in 0 Posts
Using CURL cookies from previous sessions
I am trying to create a PHP script that will login to a site by visiting one page and then access another protected page on that site. This is all easy enough to do. However, I want to know how I can get CURL to carry over the cookies for each run that the site sets to store the login session so that the script only needs to visit the login page if the cookie has expired.