Welcome to the Finch Cookies and Sessions Guide! This guide will walk you through the steps to use cookies and sessions in your Finch application. Whether you're a seasoned developer or just starting, Finch offers a robust set of tools to simplify server-side web app development.
Read or Write Cookies
You can read or write cookies in your Finch application using the rq.getCookie and rq.addCookie methods. Here is an example of how to use them:
Safe Cookies
You can encrypt your cookies using the rq.addCookie method. Here is an example of how to use it:
Read or Write Sessions
You can read or write sessions in your Finch application using the rq.getSession and rq.addSession methods. Here is an example of how to use them: