Extranet Guard
The Extranet Guard plug-in uses Data Query Definitions and rules defined through XSL to create extranets. When executed the configuration (Data Queries and XSL) will yield a XML document, that controls the flow of pagedisplay.
The plug-in works much like the Data Query XSL Render plug-in, with the exception that the resulting XML/XHTML is interpreted, rather than just returned to the display.
The following XML nodes is recognized:
-
<ABORT />
Aborts the page display.
-
<COOKIEVAR>name= value</COOKIEVAR>
Sends a temporary cookie to the HTTP client. The cookie disapears when the HTTP client is closed.
-
<COOKIEVARSTORED>days; name=value</COOKIEVARSTORED>
Sends a stored (for x days) cookie to the HTTP client.
-
<SESSIONVAR>name= value</SESSIONVAR>
Sets an ASP.NET Session variable.
-
<REDIRECT>URL</REDIRECT>
Redirects the HTTP client to another URL.
-
<HTTP401 />
Sends a "HTTP 401 Access denied" provoking a login box on the HTTP client.
-
<OUTPUT>xhtml</OUTPUT>
Writes the content to the display - normal XHTML output. If the output contains a <Debug /> node, a "show xml" button will appear when rendered in preview mode. See Render XML debug view for more information.
REDIRECT and HTTP401 raises an implicit ABORT - any following directives are ignored.
All runtime errors within the Extranet Guard plug-in result in an implicit ABORT.