Jump to content
Server Maintenance This Week. ×

-script.prefind.param and re-login


filemakeruser11-IT

This topic is 5624 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

This topic is 5624 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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