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.

WebCompanion and WebSec Login

Featured Replies

  • Newbies

Hi,

I use WebCompanion to share out my database and use WebSecurity Database to do the security check. It will prompt me the password at the very first time when I accessing the database. However, when I click Home, and click the database again, it won't prompt me for password.

I guess it should be the "session timeout" issue for web browser visiting, or I haven't logout the database.

How can I "logout" and relogin to other user? or how can I set the session timeout ?

Thanks alot!

Kent

quote:

Originally posted by maddog:

Hi,

I use WebCompanion to share out my database and use WebSecurity Database to do the security check. It will prompt me the password at the very first time when I accessing the database. However, when I click Home, and click the database again, it won't prompt me for password.

I guess it should be the "session timeout" issue for web browser visiting, or I haven't logout the database.

How can I "logout" and relogin to other user? or how can I set the session timeout ?

Thanks alot!

Kent

Kent,

This is a subject that has been the bain of many a discussion. As you correctly deduced, it's a browser function, and as such the only way you can effectively "logout" is to close the browser to end the session.

Your only other alternative is to create a cookie that has a specific value when the user "logs" in. When they log out it clears the value from the cookie. Each of your pages has an IF statement at the top that checks for this value. If the value exists, that means the user is logged in and they can view the page. If the value does not exist, then that means they are logged out and it displays a login page for them to log in.

That's your best shot at this time.

  • 2 years later...

Proton,

Can you explain to me how I would set the cookie (if statement) for each page ? What would the code look like for something like that?

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.