This topic is locked

advanced Security

7/27/2004 2:34:15 PM
ASPRunnerPro General questions
author

I have a question regarding the way that ASPrunner writes the code for the advanced username (un) and password (pw) function.

I have a sql table that contains un id, un, and pw.

1st issue:

I can not get the admin drop down to populate with any records.
2nd issue:

When I add a record on the master table, It tries to add ,0 as the un id when im logged in as user1 with a user id of 1.

question is where does asprunner pull the un id when writing that sql statement.
Thanks

For all of your support

-Ryan

Sergey Kornilov admin 8/2/2004

Ryan,
to populate admin's drop-down box make sure you have selected second or third security option and checked off "Add admin user ..." checkbox. Also make sure that you selected correct username field on the previous screen and you have some data records in username/passwords table.
ASPRunner stores logged user name in Session("UserID") variable. Probably this is what you looking for.