I have followed the Corvid Reference to ‘setitem’ for a local or session or memory in a variable and then use ‘getitem’ to retrieve it. My code was written as follows
In the Site Code
session.setItem(“strclub”, “Beijing RC”);
In the Page Code
let gstrClub = session.getItem("“strclub”);
Please can an expert tell me what I am doing wrong ?
I have followed the Corvid Reference to ‘setitem’ for a local or session or memory in a variable and then use ‘getitem’ to retrieve it. My code was written as follows
In the Site Code
session.setItem(“strclub”, “Beijing RC”);
In the Page Code
let gstrClub = session.getItem("“strclub”);
Getting error. Parsing Error: Unrecognised item strclub
Please can an expert tell me what I am doing wrong ?
Here is your ERROR…
let gstrClub = session.getItem( “” strclub");
let gstrClub = session.getItem("strclub");