Results 1 to 2 of 2

Thread: Internet login system

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Location
    Nairobi Kenya
    Posts
    7

    Internet login system

    I'm working on a login system project. A user at the client types in his login name and password and sends it to the server. The server checks for the record in the database and grants access. However i get a runtime error if an invalid username is entered. How can i trap this? How can i limit the online time to 2hours? I'm using ado and microsoft access.

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Internet login system

    Quote Originally Posted by mwirigijm
    I'm working on a login system project. A user at the client types in his login name and password and sends it to the server. The server checks for the record in the database and grants access. However i get a runtime error if an invalid username is entered. How can i trap this? How can i limit the online time to 2hours? I'm using ado and microsoft access.
    Ok, Welcome to the forums,

    You can limit the online time by adding a counter (Either using GetTickCout API or a standard VB timer) on the client side, then when the time is 2 hours it closes the client app down.

    How can you trap the error? Simple answer you shouldnt get one, i have made something similar in the past and all i did was the following

    Client sends username/password > Server gets this and looks in DB, If its there server send back "y" if not server sends back "n"

    Please respond back with any problems you are having, I've explained as best I can based on your initial post

    Pino

Posting Permissions

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



Click Here to Expand Forum to Full Width