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
MEMBER FEEDBACK TO THIS TIP
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)
self.parent.location="/";
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.