filemakeruser11-IT Posted December 2, 2008 Posted December 2, 2008 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 insid3r Posted December 10, 2008 Newbies Posted December 10, 2008 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
filemakeruser11-IT Posted December 15, 2008 Author Posted December 15, 2008 thanks a lot for the reply! i will try to see if I can let it work properly. stefano
Recommended Posts
This topic is 5874 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 accountSign in
Already have an account? Sign in here.
Sign In Now