Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default User Login

    <%
    vName = Request.Form("name");
    vPwd = Request.Form("pwd");
    vConnString = Server.MapPath("/group") + "\\_db\\user.mdb";
    vRS = Server.CreateObject("ADODB.Recordset");
    vRS.ActiveConnection = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" +
    vConnString;
    vRS.Source = "SELECT * FROM reg";
    vRS.Open();
    %>

    When the user login, the sql only can search for the 1st line. How can we do
    the code so it can search for the next user?

    I tried to use this code. My database is called reg and has 3 parameter. id,
    username and pwd
    How to solve? And one more thing is that it is made by javascript

    Any help is appreciate

    Ahmult Guest

  2. Similar Questions and Discussions

    1. Login User from Novell Login
      Hi, At present a user loggin onto our netwok enters their username and password by a Novell Login prompt. When they fire up their browser they...
    2. user and admin login on same login page
      Hello, I have a user login page which also doubles as my administrator login. Currently, my method of logging in doesnt seem to be working...
    3. Login User User Error 80040e21
      I am getting an 80040e21 error using the log in user server behavior. The complete error message is Microsoft OLE DB Provider for SQL Server...
    4. Domain Login - One User Can/Another User Cannot from same Win XP computer
      Okay ... I'm confused. I installed a brand new computer and everything was working fine. I was then advised who would be getting the computer,...
    5. User changing something on a form makes asp.net take user to login page
      Hi, I have an application that displays the database table records on the web page, the user can navigate thru the contents and make changes and...
  3. #2

    Default Re: User Login

    you need to loop throught the recordset , if youre using DW , try using repeat region to see how it works - if not look at the BOF and EOF parameter in ASP
    goerdie_uk Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139