Session Variables |
9/8/2008 10:26:00 AM |
ASPRunnerPro General questions | |
T
tlalle author
At a successful login, I need to use the data in the field MerchantID. In the login page I have defined Account & Password as the fields to verify credentials. Below is my table. |
|
![]() |
Sergey Kornilov admin 9/8/2008 |
This SQL query returns multiple records. As a first step you need modify this query to return one matching record only. |
T
|
tlalle author 9/8/2008 |
Sorry, |
![]() |
Sergey Kornilov admin 9/8/2008 |
I assume that Account holds the user name and both Account and Password fields are text fields str = "select * from dbo.Travel where Account='" & username & "' and password='" & password "'" |
T
|
tlalle author 9/8/2008 |
your assumption is correct.. |
T
|
tlalle author 9/8/2008 |
i am adding this code into the events.asp... after successful logon. |
![]() |
Sergey Kornilov admin 9/8/2008 |
str = "select * from dbo.Travel where Account='" & username & "' and password='" & password & "'" |
T
|
tlalle author 9/15/2008 |
This resolved my issue... thanks again. |