Manage Learn to apply best practices and optimize your operations.

Easy login and logout links

This tip describes how to employ easy login and logout links.

The following formula is very useful to provide login/logout links for those servers that have session authentication enabled. The login link show only when the user has not authenticated. The logout link only shows when they are authenticated. The logout link also redirects after the logout, back to the current database, but this can easily be changed by modifying the portion of the formula directly after the "Redirectto" section.

Place the following formula in Computed Text

REM "Script to create login/logout link";
MyDB :[email protected](@Subset(@DbName;-1);"";"/");
"[<a href=""[email protected](@Name([CN];@UserName) = "Anonymous";
 "/"+MyDB+"?OpenDatabase&Login" target=_top>Login</a>]";
 "/"+MyDB+"?Logout&Redirectto="+MyDB+"" target=_top>Logout</a>]")

Dig Deeper on Lotus Notes Domino Administration Tools

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...