Results 1 to 4 of 4

Thread: Newbie Question

  1. #1

    Thread Starter
    Addicted Member theonetrueace's Avatar
    Join Date
    Jan 2002
    Location
    South Alabama
    Posts
    196

    Newbie Question

    i got a login page....and a ms access database....but i only want to allow 1 connection per username....so more than one person cant login on the name at a time...

    so ive got a item in my db table thats called "CurrentlyInUse" ... it has Yes/No options enabled....if u look at it...its a checkbox....

    so wut i want to do is have it do a check using the session_start function to check if the login name is in use before it allows the user to login.....

    since im new to asp, i know exactly wut i want to do...just dont know how to do it.....any help would be great!

    thx in advance

    AcE

  2. #2
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    doesn't access automatically lock the DB when it's in use?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  3. #3

    Thread Starter
    Addicted Member theonetrueace's Avatar
    Join Date
    Jan 2002
    Location
    South Alabama
    Posts
    196
    yea if its being accessed threw MS Access...i dunno about a direct connection....i need more input...

    AcE

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Why don't you just test it yourself. Create a connection, open it, then create another connection, try to open that. Do some error trapping and see if a error is thrown. I am pretty sure you will get one.

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