magento2 – Magento 2 sets and accesses variables between controllers

I have a problem saving and accessing variables via controllers.

I have controller 1 there I set variable (tried registry and session)
In the block of this controller I have both registry and session variables.
Then we visit the product page and from there we go to controller 2. Both the session and registry variables are empty.

Try following sessions catalog and persisent

Is there another way to pass variables between controllers?

So the river is:

Controller1 (Set Variable) -> Block1 -> Product View Page -> Controller2 (Access Variable) -> Block2