This topic is locked

Separate User Database

4/11/2008 7:28:16 AM
ASPRunnerPro General questions
M
mccreelake author

I know there is a way to do this, but I can't quite figure it out.
Can you tell me how to use a separate database in an ASPRunner Pro Applications to store usernames and passwords. I maintain several of these applications and would like use a second database with usernames and passwords so that users can have a common login for all the applications. My ASPRunner applications are hosted on a remote server.
Any help appreciated.
McCree

J
Jane 4/11/2008

Hi,
you can do it editing generated login.asp file manually.

Change strConnection variable before connection to the database.

strConnection = "..."

db_connect()

M
mccreelake author 4/15/2008

Okay, I have added the connection string to the login file, but it still is authenticating using the table in the original database.
Is there something else I need to do?
Thanks!

Hi,

you can do it editing generated login.asp file manually.

Change strConnection variable before connection to the database.

Sergey Kornilov admin 4/16/2008

Nothing else is required.
Probably you making change at the wrong place.

D
dunga 5/8/2008

I have checked the login.asp page as well and did not see there any instance of



strConnection

Sergey Kornilov admin 5/8/2008

This is the line that needs to be added.

D
dunga 5/8/2008

hi, can you provide and example of this please.I am not that well versed in ASP, sorry.

J
Jane 5/13/2008

Use dbconnection.asp file as a sample.