I have two phtml which have its own unique block file. I need to pass variable from one phtml to another.
<?php $option_id = 20; ?> <a href="<?php echo $baseUrl ?>/brandsmodules/index/demo" ></a>
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.