If you do a search on your php pages for session, any page that the session shows up on is a page you should add the code to. Don't forget to modify the code and replace the "your home directory path" with the correct path.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.