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 :=@ReplaceSubstring(@Subset(@DbName;-1);"";"/");
@SetTargetFrame("_top");
"[<a href=""+@If(@Name([CN];@UserName) = "Anonymous";
 "/"+MyDB+"?OpenDatabase&Login" target=_top>Login</a>]";
 "/"+MyDB+"?Logoutℜdirectto="+MyDB+"" target=_top>Logout</a>]")
This was first published in December 2002

Dig deeper on Lotus Notes Domino Administration Tools

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close