Used to configure a class to handle a particular URL. Can be used to configure static HTML files to be processed by Jaxcent.

Namespace: Jaxcent.Framework
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void AddURL(
	string url,
	Type jaxcentHandler,
	bool useSession,
	bool autoSession
)
Public Sub AddURL ( _
	url As String, _
	jaxcentHandler As Type, _
	useSession As Boolean, _
	autoSession As Boolean _
)
public:
void AddURL(
	String^ url, 
	Type^ jaxcentHandler, 
	bool useSession, 
	bool autoSession
)

Parameters

url
String
The path which is to be handled by a JaxcentPage derived class
jaxcentHandler
Type
The type of the handler class
useSession
Boolean
Flag specifying whether the "Session" will be used. This causes Jaxcent to make the session active and store the "Session" in Jaxcent page. Otherwise, the "Session" property will return null. Defauls to false.
autoSession
Boolean
If true, the page data will be automatically retrieved into the session (defaults to false, useSession must be true if this is true)

See Also