Session variable not passing between pages

Hi I am trying to pass a session variable between two pages but unable to.

  1. User Log In
    dmx-on:success="carnival_local.set('user',email.value,{});browser1.alert(carnival_local.data.user);browser1.goto('index.php')">
    On success a session variable is set using a form field value. I can confirm this by having an alert display the new session value.
    47%20PM

However when I move to another page and try to display the same session value in another alert. It is empty

 Session here -  {{carnival_local.data.user}}

Can you explain what I am doing wrong? Note the APP ID for both pages are the same.

Community Page
Last updated: