Cookie Persistence

Cookie Persistence

Cookie Persistence lets you decide how long cookies stay active in your app, no matter if your web server sets a different expiry. Once it is enabled, all cookies expire according to the duration you set.

Steps to Enable Cookie Persistence


1. In the WebToNative dashboard, click on Website Overrides from the sidebar.

Website Overrides.png


2. Locate the Cookie Persistence option and click on Configure.

unnamed (3).webp


3. Set your duration for cookies, like 7 days, 30 days, etc. The app will follow this duration instead of using the server’s expiry settings.

unnamed (5).webp


4. Clicking on the Save button allows you to confirm the settings and Rebuild to reflect the changes in your app.