Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    17
    Rep Power
    0
    Originally Posted by MrFujin
    Just curious, how do you perform that check?
    do while not rs.EOF
    if rs("username")=Username then
    set rs=nothing
    set conn=nothing
    Response.Redirect("login.asp?login=duplicateuser")
    end if
    rs.MoveNext
    loop

    Does that work? :/
  2. #17
  3. Lord of the Dance
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Oct 2003
    Posts
    3,540
    Rep Power
    1906
    With what you have told us until now, I would say no, but it depends at what is placed before the loop.
    What does rs contain?
  4. #18
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    2
    Rep Power
    0
    hai..
    just want to ask if what programming language you are using to put those codes,.??
  6. #19
  7. No Profile Picture
    Stumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,409
    Rep Power
    4538
    Originally Posted by shengtadena58
    hai..
    just want to ask if what programming language you are using to put those codes,.??
    This is the classic asp forum. Knowing that should answer your question, 99.9% of server-side asp code is either vbscript or javascript.

    Since this topic is many months old I'm closing this thread
    ======
    Doug G
    ======
    It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo