Jump to content

Logout leads to IWP default page - how to change?


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

Recommended Posts

I have a home page that contains links to FM databases published through IWP in FM Server 7 Adv. When users click "Logout" or "Cancel" on the logon window they are automatically redirected to the default iwp page. Is there a way to change that? Right now to return to that home page they have to start all over again and it is really a pain.

Thank you very much!

Link to comment
Share on other sites

The FileMaker IWP home page is located at:


You can rename the iwp_home.html to iwp_home_old.html and build a new page

named iwp_home.html that redirects you back to wherever you want.

Link to comment
Share on other sites

  • 6 years later...

With IWP, whenever you click the Cancel button on the login page or execute an 'Exit Application' script command, FM loads the 'iwp_home.html' page. By default this displays a directory of all available FM databases. If you want the browser to go somewhere else when the user clicks Cancel/Exit App, you can simply replace the default 'iwp_home.html page with a page that does a redirect. So.. make an html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


<html lang="en">


<meta http-equiv="content-type" content="text/html; charset=utf-8">

<title>My Web Site</title>



	<p>Redirecting please wait...</p>

	<script type="text/javascript">window.location="http://www.mywebsite.com/"</script>



Just replace the URL above with the location you want the user to go. Then save in a text file named 'iwp_home.html' and replace the existing file located at:

C:\Program Files (x86)\FileMaker\FileMaker Server\Web Publishing\publishing-engine\wpc\Resources\iwpres\iwp_home.html

You may want to rename the existing file 'OLD' so that you can revert.

Link to comment
Share on other sites

Not sure what prompted you to respond to a 6-year old thread, but thanks for posting some useful info. :exactly:

Link to comment
Share on other sites

One more thing on this issue...

There is an error in the Javascript code of the sample HTML page above. The <script> tag should read as follows:

<script type="text/javascript">top.location="http://www.mywebsite.com/"</script>

Because FM IWP uses frames, to properly redirect to your custom URL you must reference the 'top' object for the redirect (not the 'window' object). Whenever a frameset is loaded into the main window a frame tree is created which sort of takes the place of the normal 'window' object. This new object is called 'top' in the DOM.

And yes.. I did realize that this was a pretty old post. I had to solve this problem the other day and could not find a solution. So thought I'd write it down for future reference. Cheers!

Link to comment
Share on other sites

To make sure I can find this discussion again easily:

This topic has been moved from "FileMaker and WEB 2.0 TechnologyPublishing FileMaker OnlineUsing FileMaker Online" to "FileMaker and WEB 2.0 TechnologyPublishing FileMaker OnlineInstant Web Publishing [iWP]".

Link to comment
Share on other sites

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