Skip to main content
Version: 4.6.2-saas

Entry Key Invalidation Function

warning

The following information applies to JavaScript version 4.5.1 or higher.

Overview​

This document describes the function provided by the NetFUNNEL JavaScript agent that removes entry keys stored in the application.

Entry Key Invalidation​

The NetFUNNEL JavaScript agent stores a key in the browser storage when queuing occurs. When using entry pass, you can reuse the stored key to enter again without waiting in the queue. 'Entry Key Invalidation' is a feature you can use when you want to invalidate the entry key at a specific point, forcing users to queue again.

nfClear("${PROJECT_KEY}", "${SEGMEMT_KEY}");
// Example 1: Remove only the entry key for segment "segKey_1234" in project "service_1"
nfClear("service_1", "segKey_1234")

// Example 2: Remove all entry keys for every segment in project "service_1"
nfClear("service_1")

// Example 3: Remove all entry keys for all projects and segments
nfClear()