Jump to content

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

Recommended Posts

  • Newbies
Posted

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

Posted

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

Posted

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.

This topic is 8590 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.