Posted by Jim Guerber on October 06, 2004 at 11:13:31:
In Reply to: Control issue in XAP posted by Stephen Auerbach on October 06, 2004 at 08:47:39:
If you do any sort of print, xap will set the url type to 1. You want a type 0.
The tutorial clearly says: "The REDIR command must be sent before any actual document text is output. In fact, no document text need be output at all, since the browser is switching to another URL"
Take out that print statement.