How to find the user in a database

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

  1. #1

    Default How to find the user in a database

    <%
    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();
    %>

    I tried to use this code, but the code only search for the first line of
    database, wont search any more.
    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. Cant find Database
      I have entered the CF Data Source Name and the Database and the Server, username and passord but when i varify connections i get this error ...
    2. How to find out the User Name The ASP.NET is run under in the code
      Hell everyone. We have some problem with the security while trying to upload files trough the System.IO and getting the follow error: ...
    3. How to find whether an user account is locked or not
      Hello, I am using PAM modules for authentication. I need an API which tells whether an user account is locked or not. And also I would like to...
    4. Passing database info to page allow user input then pass into another database
      Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not...
    5. Another user has modified the contents of this table or view; the database row you are modifying no longer exists in the database;
      Hi, I am testing a trigger that and I am getting this error message saying "Another user has modified the contents of this table or view; the...
  3. #2

    Default Re: How to find the user in a database

    add where userID = whatever , where Userid the users unique id key (assuming thats how youve built the db)
    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