Returns a URL that will return a given content-type and bytes. The information is placed in the session. The URL is based upon the Jaxcent URL, and can be used for applications such as generating a PDF file. Session must be available for the page. The information can be removed from the Jaxcent session by calling the method JaxcentSession.RemoveContentURLData.

This method can only be called if "use-session" was set to true, Note that even after "use-session" has been set, the session is not available in the constructor, it only becomes available after OnPageLoaded event has fired.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public string MakeContentURL(
	string contentType,
	byte[] content
)
Public Function MakeContentURL ( _
	contentType As String, _
	content As Byte() _
) As String
public:
String^ MakeContentURL(
	String^ contentType, 
	array<unsigned char>^ content
)

Parameters

contentType
String
content
array<Byte>[]()[][]

See Also