MySQLi authentication does not have the capability to restrict based on session values. It is pretty much a binary (logged in / out) system.
We are working on an update to Data Bridge to add MySQLi support that we hope to release this quarter.
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.