This topic relates to a web app running on Domino 6.5.x (Win32). I find it quite hard to explain without showing but I’ll do my best ![]()
The app makes use of a standard 3-pane frameset (2 columns across, 2 rows in the left column). To access the database users have to login with name and password; the server uses session authentication. A “logout” hotspot is provided in the navigational frame (bottom row of the left column). The logout logic is supposed to redirect to the database itself after a successful logout (redirectto=http:/host/database-path/database.nsf?open).
When users logout of the database SOMETIMES everything works as planned, i.e. the browser is redirected to the database itself which results in the login page being displayed because the user now is logged out.
Most of the times, however, the frameset is NOT replaced by a single login page. Instead, most of the frames are showing their own login pages (see below where I explain which browser is doing what); in some cases one of the frames (top row of the left column) still displays the content that was visible BEFORE the logout (this is a frame showing a company logo that can be clicked to display some ABOUT info in a pop-up window). If I hit the browser’s REFRESH button the frameset disappears and is replaced by the expected single login page.
The logout logic is written in javascript:
var curUrl = top.location.href;
var bUrl = curUrl.substring(0, curUrl.indexOf(“.nsf”) + 4);
top.location.href = bUrl + “?logout&redirectto=” + bUrl;
I also tried wiping the session cookie and then reloading to the base url, but the results are the same which is the reason why I don’t post that code here.
Another thing i tried was sending a
top.location.reload();
after the actual logout, but without any success.
Next thing I tried was extending the redirection url to
“&redirectto=” + bUrl + “?opendatabase&basetarget=_top”
This seems to be working the first time I use it but not the next time and from then on.
If I redirect to a totally different url, or if I just logout without redirecting at all the frameset is ALWAYS wiped. If then I hit the browser’s BACK button, however, the frameset is reloaded, again showing the login page in most of the frames.
Browsers:
This behaviour applies to Firefox 3 and MS Internet Explorer 7 where MS IE7 is the one still showing the company logo frame after logging out while Firefox shows the login pages in all three frames. Using MS IE 6, however, everything works as I would expect it to (i.e.: no sticky frames etc.) !
At the moment I’m lost, and I’m having no idea of what to try next.
I’m sure there must be a simple solution to this that I just don’t see. Would someone please stand up and tell me what it is? :-o
Thanks,
-Lothar