I have two phtml which have its own unique block file. I need to pass variable from one phtml to another.
PHTML 1
<?php
$option_id = 20;
?>
<a href="<?php echo $baseUrl ?>/brandsmodules/index/demo" ></a>
PHTML 2
In this page is where I need to get the variable. I don't want to pass variables in URL as parameter due to security concerns.