Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Security Database -> how to logout ?

Featured Replies

  • Newbies

I'm using the web security databases to secure the databases I've published using the CDML but I've noticed that once the user has loged in he will stay loged even if the browser is closed, I would like to let the possibility to the user to log out or make him log out if he closes the page (or both), does anyone knows how to do that ?

This is web browser caching, nothing to do with FMP. You need to train the users to exit the web browser completely (all windows) to effectively log out.

Some browsers remember username and password; if they have selected this option there is little you can do (as developer).

Howdy! Unfortunately, there's no LOGOUT that I know of, but here are some ideas...

(1) IE Windows... I remember a post where someone found a way to logout, but it kinda only worked with IE6 Windows. She had wanted to logout without having to quit her browser so she could test what various users would see and have access to.

(2) False Logout... If the data is not that crucial, you can have your CDML pages only work correctly when based on a field/token/cookie value. When someone logs in, you set that parameter... when someone logs out, you change that parameter and use an IF statement to control whether they are "logged in" or not... kinda like a companion variable. Of course, this only works as long as they stick to your CDML web pages, but it may work good enough for many situations.

(3) Quit browser... tell them to QUIT BROWSER when they log out or someone can access their account/posts/information.

--ST

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.