Closed ostark closed 1 year ago
We need to persist the cookie collection between requests - basically like a browser.
This is needed for sessions as well. No issues with sessions, this is a singleton bound to the application, not to the request/response.
We need something stateful that gets the CookeCollection from the response and adds it to the next request. Hello Singleton 🙈
https://github.com/ostark/craft-pest/pull/2 🥳
This can be replaced by, https://github.com/markhuot/craft-pest/pull/60
We need to persist the cookie collection between requests - basically like a browser.
This is needed for sessions as well.No issues with sessions, this is a singleton bound to the application, not to the request/response.Idea:
How?
We need something stateful that gets the CookeCollection from the response and adds it to the next request. Hello Singleton 🙈