Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hello, I am building a website using Next.js 13.5.2. This page needs to display some content only for users who are logged into the CouchCMS content management system (hosted on an external server). When a user logs into CouchCMS, the login session is saved in a cookie (e.g. PHPSESSID). I want to get that cookie from the CouchCMS login response, save it to a frontend cookie (Next.js), and reuse this cookie in fetch requests to the CouchCMS API from the frontend.

So is there a way to set a cookie in CouchCMS so that the Next.js frontend can receive and use this cookie? Thanks.
Hi,

Perhaps the following thread might help? -
viewtopic.php?f=8&t=13412

Do let me know.
2 posts Page 1 of 1
cron