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


Preventing a Home Page from Loading in IWP


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 != 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, when the IWP session is closed?