as long as you are storing the Users ID in the Orders table when they place an order, you cold query the Orders table for any records that contain the logged in users ID, If the recordset is empty, redirect them to the index page.
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.