buildSessionResourceURI
A utility accessor to generate URIs for session resources
Release Notes
License
Change History
NetKernel History
Acknowledgements

buildSessionResourceURI

A utility accessor to build a URI reference to a session resource

Module

urn:org:ten60:netkernel:ext:session

Definition

Format

<instr>
  <type>buildSessionResourceURI</type>
  <operand>this:param:session</operand>
  <operator>
    <key>myresource</key>
  </operator>
  <target>var:mySessionObjectURI</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory buildSessionResourceURI
operandMandatory the URI of the session
operatorMandatory a document holding the key identifier to build the URI with
targetMandatory Fragment OKtarget resource

A session has a URI of the form session:AB134534652AF56321545, a session resource belongs to a session and is identified by a compound URI of the form.

session:AB134534652AF56321545+key@myresource

The buildSessionResourceURI is a utility for constructing a session resource compound URI. The session URI is provided as the operand. The operator is an XML document with root <key> containing an identifier for the session resource. The result is canonical compound URI document of the form show above. This URI can be used to reference the session resource.


1060® NetKernelTM Documentation
(C) 2003-2004 1060 Research Limited

Send Feedback

© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited