Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Security API > Methods

Security API: logout

Scroll Prev Next More

 

Logs the current user out without redirecting them.

Syntax

Security_logout()

Arguments

No arguments.

Return value

No return value.

Example

Log the current user out and redirect to another page.

 

Security_logout()
'**********  Redirect to another page  ************
Response.Redirect "login.asp"

See also:

Security API: loginAs

Events: Redirect to another page

About Security API