cfclient.localstorage.setItem

Persisting an item in storage

Set an item in the local storage identified by a key.

Method summary

 

setItem(key,value)

  • returns – None
  • params
    • Key (String), Value (String)

Usage

<cfset cfclient.localstorage.setItem(“myKey”,”myValue”) >


Example

See Using the Storage APIs

Get help faster and easier

New user?