This topic is locked

Security based on userid

12/8/2006 12:51:03 PM
ASPRunnerPro General questions
skemp author

Hi,
I have created a secure page where users may only see and edit their own data. However when logging in the user can still see everyone's records. It seems that the page is not filtering on the loginid.
Any help is greatly appreciated.
Sheryl

skemp author 12/8/2006

Please omit the previous email concerning the login. It is working. My mistake.
Sorry!
Sheryl

Sergey Kornilov admin 12/8/2006

Make sure link between Login and Main tables is correct, both fields are of the same datatype and values are the same as well.
Also you can change dDebug variable in include/dbcommon.asp file to print SQL query on the page and see what is wrong.
If nothing helps post your project to Demo Account and send me a link to it.