Issues

ZF2-122: Cookies lost between requests in Http\Client

Issue Type: Bug Created: 2011-12-17T13:45:47.000+0000 Last Updated: 2011-12-18T13:13:07.000+0000 Status: Resolved Fix version(s): Reporter: Artur Bodera (joust) Assignee: Artur Bodera (joust) Tags: - Zend\Http

Related issues: Attachments:

Description

Create a Http\Request (GET or POST alike) and send it via Http\Client

The destination page sets a cookie.

The destination page returns 302 REDIRECT

Http\Client clears all GET, POST and Cookie data

A new GET request is sent to destination page without Cookies.

Because the second request after a redirect is missing cookies, cookie-based sessions will not work hence disabling functionality of most web pages and services.

Comments

Posted by Artur Bodera (joust) on 2011-12-18T13:12:28.000+0000

https://github.com/zendframework/zf2/pull/671

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts