Setting Cookies for AWS Cloudfront
Permalink
Despite reading the documentation and forums a number of times I'm still struggling to work out how to set cookies to access private content served via Amazon Web Service's Cloudfront per guidance here
https://docs.aws.amazon.com/aws-sdk-php/v3/guide/service/cloudfront-...
I've created a package and added the AWS SDK to it but what I can't get my head around is where I put the code so that C5 will send the Cookies to user's browsers.
Do I create a folder and file src/Cookie/CookieJar.php and put it in there? API reference is here
http://documentation.concrete5.org/api/class-Concrete.Core.Cookie.C...
Any help available would be appreciated.
https://docs.aws.amazon.com/aws-sdk-php/v3/guide/service/cloudfront-...
I've created a package and added the AWS SDK to it but what I can't get my head around is where I put the code so that C5 will send the Cookies to user's browsers.
Do I create a folder and file src/Cookie/CookieJar.php and put it in there? API reference is here
http://documentation.concrete5.org/api/class-Concrete.Core.Cookie.C...
Any help available would be appreciated.
Since no one has offered a solution to this question, you might consider Stack Overflow.
https://www.concrete5.org/developers/stack-overflow...