Login   Register  
PHP Classes
elePHPant
Icontem

Cookies and Login Help

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP HTTP protocol client  >  All threads  >  Cookies and Login Help  >  (Un) Subscribe thread alerts  
Subject:Cookies and Login Help
Summary:Help with not having to login everytime.
Messages:2
Author:tutu dragon
Date:2010-12-24 00:41:12
Update:2010-12-24 03:15:33
 

  1. Cookies and Login Help   Reply   Report abuse  
Picture of tutu dragon
tutu dragon
2010-12-24 00:41:12
First of all, thanks for this wonderful class, its great.

So, now to my question

I have set it up so that it logs in to a site and then fetches a page.

But is there a way to actually save the cookie so that the script doesn't have to login everytime it is loaded.

  2. Re: Cookies and Login Help   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2010-12-24 03:15:33 - In reply to message 1 from tutu dragon
You can call the SavePersistentCookies functions to retrieve an array of cookies that you can save somewhere.

Then you call the RestoreCookies functions to load the saved the cookies array.