Displaying pages based on sessionid

Thank you for your reply JD, it’s very much appreciated. I’ve put the code
import {session} from ‘wix-storage’ ;
// …
session.setItem( “key” , “value” );

into the page where you guess, and the code

import {session} from ‘wix-storage’ ;
// …
let value = session.getItem( “key” ); // “value”

$w.onReady( function () {
$w( ‘#message’ ).text = session.getItem( “key” );
});

into the selection page, but it’s still returning “value”. Do I have to set “key”, “value” to something?


also you said I have to write an if () condition. Have you got an example? Those reference websites don’t tell a beginner anything, Or maybe it does but I’m well below a beginner.:disappointed_relieved:

Thanks

Tom