1 Reply Latest reply on Jan 30, 2017 9:28 AM by mikebeargie

    Auto-Login from a website


      I currently have a database used for registering by filling out an application. I have the link in my website set so when someone clicks it, it will open the database. However, the problem is, if it is a new member registering, they will be without a name/password to use to log into the database. Is there any way that I can make it auto-login for these new guests without granting them Full Access Privileges? To try to simplify what I mean, is there a way so they will click the link, and it will automatically open up to the registration form on my database?

        • 1. Re: Auto-Login from a website

          Are you talking about WebDirect?


          Assuming yes, you enable the guest account and add the webdirect extended privilege to the guest privilege set. Set the OnFirstWindowOpen trigger script to go to your login form.


          Alternatively you can create an account with it's own restricted privilege set that includes WebDirect extended privileges, and under File > File Options, specify that account and password as the login. Again set the opening trigger script to go to a login page.


          On your login page, have a button that runs a script with the "Relogin" script step, this will allow existing users to login. In your registration form, save the record of data and create the user using the "Add Account" script step to create their filemaker account.


          I would have a look at the Accounts Module if you want to do user management inside of filemaker this way.