PHP Classes

żIt Resend Cookies when follow redirects automatically?

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  żIt Resend Cookies when follow...  >  (Un) Subscribe thread alerts  
Subject:żIt Resend Cookies when follow...
Summary:żIt Re-sends Cookies when follow redirects automatically?
Messages:3
Author:LeoLeo
Date:2008-02-15 20:54:21
Update:2008-02-18 19:22:27
 

  1. żIt Resend Cookies when follow...   Reply   Report abuse  
Picture of LeoLeo LeoLeo - 2008-02-15 20:54:21
I read the code, but I'm not sure of this:

The class http_class can follow redirects automatically.
Ok.

But, when it follow redirects:
does it send -automatically- the cookies of previous response?

If not: how fix it?
(the class is very large and complex, and I'm not sure the best way to do it).

Thanks.

  2. Re: żIt Resend Cookies when follow...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-02-15 23:48:49 - In reply to message 1 from LeoLeo
Yes, the class sends all non-expired cookies back to the server after the request on which the server sent them.

  3. Re: żIt Resend Cookies when follow...   Reply   Report abuse  
Picture of LeoLeo LeoLeo - 2008-02-18 19:22:27 - In reply to message 2 from Manuel Lemos
OK

I thinked so when I read the code (I read it slowly) ... but obviously you know this question better and I prefer to ask you.

Thanks, Manuel
Your class is the best class http-client that I have seen write in php,
congratulations
:-)