DBRW include login.asa

M

Mick

When you use the DBRW it produces a set of pages, i.e. new.asp,edit.asp etc.

Is it possible to insert a second login so the top line in the code of the
pages says something like
<!--#include File='login.asa'--> or <!--#include File='login2.asa'-->

So different users can have a seperate login access. Then for each person a
new set of login files such as "login2.asp, login2.asa, and
login2_validate.asp"
Thanks in anticipation, for your help
 
P

Paul M

Hi Mick
You could modify the login.asa file where the password is stored by adding
more entries like password2 etc and then alter the login_validate.asp file
to accept the other passwords, then you could use just one login.

Or you could create another set of DBRW for each user.
Paul M
 
M

Mick

Thanks Paul.
I duplicated the code in the Login_validate file added it to the bottom of
the existing code, then changed the code in the duplicated code for User2 and
password2.
Then added then it to the .asa file, and it works perfectly. Well done and
thanks for your help
Mick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top