[MarkLogic Dev General] Application (and session) variables???
Tim Finney
tjf2n at virginia.edu
Fri Dec 15 13:11:46 PST 2006
As it happens, a request for enhancement was submitted yesterday after
discussion over how one might store XML fragments on a per-session
basis.
Best
Tim Finney
Programmer
UVa Press
On Fri, 2006-12-15 at 13:45 -0500, Wyatt wrote:
> Is there such thing as an application level variable in MLS? Something
> that can be created when MLS starts and is resident in memory all the
> time? I've looked around the documentation and can't anything, am I'm
> missing something?
>
> On a side note, I've been using session variables in lieu of application
> variables and found some inaccuracies in the documentation for
> xdmp:get-sesssion-field() function... The documentation says it returns
> a xs:string, but I believe it returns an item(). When I store an
> element() with xdmp:set-session-field(), I get an element() from
> xdmp:get-session-field(). It would also be nice if the default (2nd)
> parameter of xdmp:get-session-field() would take an item rather than an
> xs:string.
>
> Thanks
>
> Wyatt
>
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general
More information about the General
mailing list