The mystical techniques for achieving immortality are revealed only to those who have dissolved all ties to the gross worldly realm of duality, conflict, and dogma. As long as your shallow worldly ambitions exist, the door will not open.
Simply see that you are at the center of the universe, and accept all things and beings as parts of your infinite body. When you perceive that an act done to another is done to yourself, you have understood the great truth.
When the ancient Masters said, "If you want to be given everything, give everything up," they weren't using empty phrases. Only in being lived by the Tao can you be truly yourself.
The Master gives himself up to whatever the moment brings. He knows that he is going to die, and her has nothing left to hold on to: no illusions in his mind, no resistances in his body. He doesn't think about his actions; they flow from the core of his being. He holds nothing back from life; therefore he is ready for death, as a man is ready for sleep after a good day's work.