newnew
Issue a NEW request to an accessor
Home > Books > NetKernel API and Services Reference > Accessor Listing > Utility and System Accessors > new

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:sys

The new accessor is exported by the urn:org:ten60:netkernel:ext:sys module. Import this module to gain access to the accessor.

Syntax

URI
active:new

ArgumentRulesDescription
uriMandatory the URI base at which to create new resource
argsOptional arguments passed as part of the NEW request

Example Usage

DPML

<instr>
  <type>new</type>
  <uri>session:</uri>
  <target>var:session</target>
</instr>

NetKernel Foundation API

The new accessor is provided for use with the DPML language. It is more efficient to use the following NKF method with scripting languages:

INKFConvenienceHelper.requestNew()issue NEW request to resource

Purpose

The new accessor issues a request for a new resource to the accessor that maps the base of the URI specified in the uri argument. The new accessor returns the URI of new resource.

Data Accessors that currently support new are session: in the ext-session module and active:httpState in the ext-client module.

© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.