The Craft 6 beta is out. Learn what's new and how Craft 6 works on Laravel. Explore Craft 6

Using Cookies in Craft and Twig

Can I set and get cookies right in my Twig templates? Yes, and Ryan walks through how to set and get both secure and insecure cookies right in your Craft Twig templates.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium