Created on
09-09-2024
01:39 AM
Edited on
12-20-2024
01:44 AM
By
Jean-Philippe_P
| Description | This article describes how to change cookiesession1 inserted by FortiWeb in the client’s browser to a session-based cookie. |
| Scope | FortiWeb v7.0.2 and later. |
| Solution |
By default, with ‘Client Management’ enabled in the Web Protection Profile, FortiWeb inserts a persistent cookie (365 days validity) into the client’s browser for client tracking.
If such a persistent cookie is not preferred, change cookiesession1 to a session-based cookie with the commands below.
config waf web-protection-profile inline-protection
Note: The session-based cookie only lasts if the browser is open and is automatically deleted when a user closes the browser or exits the app.
Steps to verify.
From the client’s browser:
Related articles about cookiesession1: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.