Avoid multiple login screens when using frameset

Two solutions to Avoid multiple login screens when using frameset.

View member feedback to this tip.

When you use framesets for the homepage you sometimes get multiple login screens for each individual form on that page. It also occurs when you programmatically logout and redirect to the homepage that is a frameset. There are two solutions to this problem.

Solution 1:

Make a new form for login (frm_login) and make it the default for the homepage. On the OnLoad event just redirect it to the frameset you want.

Solution 2 (The simplest one):

In order to avoid this you can use "&login" at the end of the URL.

For example: http:ServerNameDbpathDb.nsffra_Main?openframeset&login


If I am using Single Sign On (SSO) with the domcfg.nsf database I place this code in the (Web) JavaScript header. This will help the log on page break out of anyframeset it ends up in.

//frame escape 
if (self.parent.frames.length != 0) 

—Luc B.

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Hemang Kapadia. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on HTML for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...