Results 1 to 7 of 7

Thread: vb login [Resolved with javascript]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Location
    Propped up at a PC near you...
    Posts
    194

    vb login [Resolved with javascript]

    I have written a simple html web site, which requires a password to enter. I know how to write a login in vb, but how do I link them?
    Last edited by mbonfyre; Nov 20th, 2002 at 07:58 AM.

  2. #2
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    How to link , don't know if you can.

    I'd write a login in html if i were you.
    The code to check if login is valid you can place in a asp file where you call the function from when clicked on admit .
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Location
    Propped up at a PC near you...
    Posts
    194
    I haven't got a clue how to write a login in html, any links to sites that might help me?

  4. #4
    New Member
    Join Date
    Nov 2002
    Posts
    10
    write a login in html
    You cannot do any processing in pure HTML. It is a static language. You have two choices.

    1. Set-up authentication on the folders and files on the web server itself. That way the web server issues the challenge.

    2. Write server side code. Since you wanted VB, you should use ASP or ASPX pages.
    ---
    dominicallpar

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Location
    Propped up at a PC near you...
    Posts
    194
    thanks for the reponse, but seeing as I did not understand a word you said, I think I will think again about having it passworded!

  6. #6
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    Do not panic.

    I'll try to fix up some code for you with asp.

    I'll get back here when I did it.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Location
    Propped up at a PC near you...
    Posts
    194
    thanks alot, but I managed to sort it out imbedding javascript into my html doc to didplay a java applet

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