![]() |
Sergey Kornilov admin 10/7/2008 |
AfterSuccessfulLogin is correct event for this purpose. |
W
|
Wanda author 10/29/2008 |
This is a follow up on this post. |
![]() |
Sergey Kornilov admin 10/30/2008 |
AfterSuccessfulLogin event doesn't have dict parameter. You need to run SQL query using username and password as an argument to retrieve the value of Activated field. |
W
|
Wanda author 10/31/2008 |
Yes sir, that's what we did. Created a recordset, grabbed it up and all was well. We now know how to do this. Many of the pointers and code frags throughout this site and from you helped. |
![]() |
jadachDevClub member 11/9/2008 |
Can someone explain to me how to do this? |
W
|
Wanda author 11/9/2008 |
Something Like this will do the trick: |
![]() |
jadachDevClub member 11/9/2008 |
Thank you Wanda. I will give that a try. Something Like this will do the trick: dim rs, strSQL strSQL = "Select Column1, Column2, ColumnX from TABLENAME " strSQL = strSQL & "WHERE CONDITION ='" & StringToFind & "'" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open strSQL, EW_DB_CONNECTION_STRING, 1, 2 ' create session variables to be used later session("strStatus") = rs("Acct_Status") session("strActive") = rs("Activated") rs.Close Set rs = Nothing |