I stored the id of a meteor object in a session variable on a button click and wanted to evaluate some data based on the variable,on a different template. I’m getting a “Uncaught ReferenceError: myid is not defined” when I try to console log the variable on a different template helper. How can I share the variable I stored on the previous page to the new page.
PS:If you need any of my code to answer, feel free to ask. Please add code samples if you can on how to copy the session variable because I’m at my wits end to do it. Thanks!