What version of FM Server is this for? To end a session, you can try script steps "close file" or "exit application" to end a session and direct the browser back to the default home page. If you're using a custom home page, it can redirect there.
no unfortunately this does not really solve the problem. I want the user not to have to do anything. I want him to hit a link in an email and then get back to the IWP-website and be logged in with his new account. It all works well when there is no active session with the file, but when the user is still using the website and logged in with the ‚public‘-account you cannot log in again.
It seems we have to delete cookies or the session-id or somehow make IWP end the session from outside filemaker.
Thanks a lot anyway, I didn’t explain my problem very well - and it is filemaker server advanced 12, by the way.
I would expect some scripting to process for the creation of the new user account and email of the link. Couldn't you script the closing of the browser/client session as part of this, so the file looks for credentials again when returning?