Tornado API Library - V12.30.08

z.ASPdbLogin Method 

Stand alone Login.

[Visual Basic]
Public Function ASPdbLogin() As Boolean
[C#]
public bool ASPdbLogin();

Return Value

True | False - Login Status.

Example

<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim Lg As New Tornado.z
  Lg.dbUnit = 1
  Lg.dbLogin = "type=PoorMan|passlist=MyId,MyPass| titletxt=Stand Alone Login" & _ 
       "|For=f|Cha=f|log=f|hel=f"
    If Lg.ASPdbLogin() Then
      Lg.ASPdbClearLogin()     
      Response.Redirect("/dir1/app.aspx?pass=password")  
    End If
End Sub
</script>

See Also

z Class | Tornado Namespace | ASPdbClearLogin | dbLogin | dbLoginTemplate | Special Topic - Login