AnsweredAssumed Answered

Preventing a Home Page from Loading in IWP

Question asked by larrygoldman on Oct 18, 2009
Latest reply on Nov 2, 2009 by TSGal

Title

Preventing a Home Page from Loading in IWP

Post

From the Instant Web Publishing Guide:

 

"In order to prevent a custom home page from loading into the Instant Web Publishing layout frame when a user logs out via a script or a session times out, the following JavaScript should be added to the head section of the iwp_home.html file:

 

if (window != window.top) top.location = "/fmi/iwp/cgi?-home";

 

You can set top.location to the home URL or any other URL."

 

I'm not getting this to work. Can someone supply the (complete) contents of an iwp_home.html file that will take a user directly to, for example, google.com when the IWP session is closed? 

Outcomes