Hi, i've created a application using microsoft visual studio 2005. I've publish the exe application using IIS. now is issue is. I need to restrict the login part. For example is A login to this website.. B cant login until A log off.
I'm using VB.net BTW!
Below is the code for my login page.
[code=vbnet]
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArg s) Handles OK.Click
If UsernameTextBox .Text = "admin" And PasswordTextBox .Text = "admin" Then
Form1.Show()
Else
MsgBox("Incorre ct password", vbExclamation, "Header")
UsernameTextBox .Text = ""
PasswordTextBox .Text = ""
End If
End Sub
[/code]
Can anyone help? THANKS
I'm using VB.net BTW!
Below is the code for my login page.
[code=vbnet]
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArg s) Handles OK.Click
If UsernameTextBox .Text = "admin" And PasswordTextBox .Text = "admin" Then
Form1.Show()
Else
MsgBox("Incorre ct password", vbExclamation, "Header")
UsernameTextBox .Text = ""
PasswordTextBox .Text = ""
End If
End Sub
[/code]
Can anyone help? THANKS
Comment