Hi V@no
Thank you for taking the time to look at my problem.
I have stored the password users enter in the password page in the database (sessions table in a field called new_password). It is entered in the correct row based on the users ip_address.
In Categories the password field is called cat_password (you were almost spot on).
I can't get the code you have added to work yet, but I think its something to do with how you think I've done the code on my password.php. As you can see above, I have used the database to store the passwords, both the catagory password and the session. Nothing too technical as I am a beginner really.
I am totally lost with this sentence...
...The user entered passwords stored in session (or even in the database for members if you decide go more advanced ) in "cat_pass" in the following format: cat_id,password|cat_id,password (each category separated with a "|" and each cat id separated from password with a comma)...You can assume I haven't done this as I opted for the database version. Even visitors that are not signed in as a member can have their own password as its based on their session_ip address.
I've had a go at changing the permissions in the auth.php file but have failed for now.
Any ideas?
All the best
Gazza