Appending the junction cookie JavaScript block (trailer)
About this task
The -j junction option modifies HTML documents returned from junctioned servers by inserting a JavaScriptâ„¢ block that sets a junction identification cookie on the browser interpreting the document. By default, the JavaScript block is inserted at the beginning of the page, before the <html> tag.
This prepended location of the JavaScript on the page can cause HTML rendering problems in some environments. If this type of problem is encountered, you can configure WebSEAL to append the JavaScript block to the end of the document instead.
Procedure
To configure WebSEAL to append the junction cookie JavaScript block to the end
of pages returned by the back-end server, add the -J option
with the trailer argument when creating the -j junction.
For example (command line fragment):
pdadmin> server task instance-webseald-host create ... -j -J trailer ... If you are concerned with inserting the JavaScript block in the correct location for HTML 4.01 compliance, see Inserting the JavaScript block for HTML 4.01 compliance (inhead).