Newbies shwang Posted October 31, 2001 Newbies Posted October 31, 2001 I am running FM 5 using CDML and web companion. I have users log on using the Web Security feature that is built in Filemaker. I would like to add a 'log out' button to make sure that noone has an access to the database unless they log on again. So far, I have not been able to find the answer on this. I am thinking that I sure write a script to close all Internet Explorer sessions. I would really appreciate your thoughts on this.
Anatoli Posted October 31, 2001 Posted October 31, 2001 If you will open window through JavaScript, you can close it by JavaScript. You cannot close the main browser window without user will click OK in alert box. That is in IE. NN can usually close it.
Vaughan Posted November 4, 2001 Posted November 4, 2001 We've been through this before. The username and password is remembered by the browser, not FMP or Web Companion, so there is no CDML tag to force a log-out. In fact the info that gets remembered is solely a function of the browser: MsIE remembers more and is harder to "forget" than Netscape. The only robust, reliable method is to quit the browser. If need be, train your users to do it.
Newbies Hatteras1 Posted November 7, 2001 Newbies Posted November 7, 2001 Thank you for your reply. It looks like the best way to address this issue is either to train the users or have a logout button that runs the close Window script. Since users are used to 'logging out', I am going to use the java script to close the window. For others who run into the same issue, here is the link to the java script that will let you close the window: http://javascript.internet.com/page-details/close-window.html
Recommended Posts
This topic is 8514 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now