How to use Cookie or Session php for one page and just a password

How to use Cookie or Session php for one page and just a password