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.

-script.prefind.param and re-login

Featured Replies

Dear Sir,

I am trying to develop a login form (via flash) using the xml query string.

AS I do not want to use the basic http login request, I must enable the guest account in filemaker pro.

WHen I do send an xml query via browser as this one:

http://127.0.0.1/fmi/xml/fmresultset.xml?-db=FMF&-lay=Web&-script.prefind=webrelogin&-script.prefind.param=%7Clogin%7Cpass&-findall

the login and password parameters are sent to the webrelogin script,which must perform the re-login script step.

What it happens is that, being the guest account enabled,the error code sent back by FMS is always "0" (=no errors), while I should get an appropriate code error (if password is missing,password is incorrect...) in response to the re-login script,so that I can implement the correct login form.

So the problem is how to have the proper error code, generated by the re-login script, sent back to the requesting browser.

Is there a way to solve this problem?

I hope that my question is clear enough for some of the gurus here in fmforums.

thanks!

stefano

  • Newbies

I have a same problem with you.

I solve it using "Exit Application" on else if the username and password is not matched. It force filemaker returns an xml error msg

hope it helps

  • Author

thanks a lot for the reply!

i will try to see if I can let it work properly.

stefano

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.