|
-
Nov 19th, 2002, 03:23 AM
#1
Thread Starter
Addicted Member
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.
-
Nov 19th, 2002, 03:49 AM
#2
Frenzied Member
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
-
Nov 19th, 2002, 09:08 AM
#3
Thread Starter
Addicted Member
I haven't got a clue how to write a login in html, any links to sites that might help me?
-
Nov 19th, 2002, 10:51 AM
#4
New Member
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.
-
Nov 19th, 2002, 10:54 AM
#5
Thread Starter
Addicted Member
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!
-
Nov 20th, 2002, 03:51 AM
#6
Frenzied Member
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
-
Nov 20th, 2002, 07:58 AM
#7
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|