December 2, 200817 yr 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
December 10, 200817 yr 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
December 15, 200817 yr 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