How to "Add Custom Header to all the HTTP request made from a Page" ?

How to "Add Custom Header to all the HTTP request made from a Page" ?

From an X page, I need to add a "dynamic value" in the header. So that, to which ever page i am navigating from the X page, i will get that value in the page i am landing.