 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Ethorsen
Joined: 15 Jun 2007 Posts: 2
|
Posted: Fri Jun 15, 2007 9:31 pm Post subject: How to make cookies easily follow multiple requests |
|
|
Hello everyone,
I have to access multiple times a website that require authentication. This is not basic http authentication but a self managed form/cookie authentication.
Is there a way to tell the HTTP_Request class to just repush cookies in the same state it is received in between each request.
Here's what i came up with and this is NOT working.
$sessionCookies =& $req->getResponseCookies();
$req->reset();
foreach($sessionCookies as $key => $value)
$req->addCookie($value['name'], $value['value']);
Thank you all for your help.
Ethor |
|
| Back to top |
|
 |
Ethorsen
Joined: 15 Jun 2007 Posts: 2
|
Posted: Mon Jun 18, 2007 9:41 pm Post subject: |
|
|
Problem solved, I found a solution.
Thx |
|
| Back to top |
|
 |
brent
Joined: 27 Jun 2007 Posts: 1
|
Posted: Wed Jun 27, 2007 8:19 am Post subject: What was the solution |
|
|
Hi,
I've got exactly the same problem that you had. Are you able to post your solution please.
Also I think my problem is due to the webpage checking to see if my browser will accept cookies. Everytime I go the page I get the message that 'This website requires the use of cookies. It appears you have them turned off. blah blah blah.' Any help in overcoming this issue would be greatly appreciated.
Thanks,
Brent |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|