Tornado API Library - V12.30.08

z.ASPdbClearLogin Method 

Clear login record for standalone login.

[Visual Basic]
Public Sub ASPdbClearLogin()
[C#]
public void ASPdbClearLogin();

Remarks

This method is used after a successful standalone login.

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" & _ 
       "_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 | ASPdbLogin | dbLogin | dbLoginTemplate | Special Topic - Login