August 2, 200124 yr Newbies Hi, I have created a search database in FM protected by the web security database. The web security prompt currently pops up when the "SEARCH" button has been clicked. I was wondering how I can change this so that the prompt pops up upon loading of the search.html page, and not when the "SEARCH" button has been pressed. Thanks in advance for any advice. Andrew
August 2, 200124 yr The reson this is happening is probably because you are viewing the page directly from the web server. To make the server pop up the logon screen, you must make sure you are viewing the page via an "FMPro?......" link. E.G. http://your.host.com/FMPro?-DB=YourDatabase&-Format=search.htm&-View By doing this you are invoking the web security database. The problem with this is that if the search page is to be your initial page, filemaker won't allow you to use that URL in the web companion prefs. So instead, you have to create a redirect page or a frame page that you tell the web companion to load initially. Then it will access the URL on its own. Hope this helps. Charlie
August 2, 200124 yr Close, but no cigar. Web Companion only authenticates (asks for password) for the -find, -findany and -finall action tags (as well as -edit, -new, -dup and -delete). Authentication is not requested for -view. So change the link to -findany or -findall and it'll authenticate.
Create an account or sign in to comment