Log In
Hi,
If I have a photography website and I place the clients photos on the internet, I want only the client whos photos their are to be able to view them, not anyone else. How would I be able to do that. Thanks
Hi,
If I have a photography website and I place the clients photos on the internet, I want only the client whos photos their are to be able to view them, not anyone else. How would I be able to do that. Thanks
you would need to create a table to store the file names of the photographs, and the ID of the user they relate to:
photgraphs:
photgraphID - primary key
photographUserID - relates to users.userID
photgraphImageName - stores the file name "123.jpg" for example
when a user logs in, their ID is stored in a session variable.
Use a recordset to query the photgraphs table and filter the photographUserID on the session variable that is set by login.
use this recordset to populate the page with images.
So the photographs page would only be accessible when logged in and would be queried by the user ID.
2. Also if I have a page with lots of photos but only want that to be accessible by logged in customers and new users how would I do that with security assist. Thanks.
yes, you would use security assist to restrict access to allow only logged in users , and query by the logged in users ID
2. Also if I have a page with lots of photos but only want that to be accessible by logged in customers and new users 
i'm not sure i follow. A registered user is a registered user regardless of the registration being new or old.
using security assist access restrictions, you can restrict access to the page to only allow registered users to see it.
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.