[MarkLogic Dev General] Question on sessions
Jason Hunter
jhunter at marklogic.com
Thu Oct 28 13:12:48 PDT 2010
Hi Ryan,
On Oct 28, 2010, at 12:48 PM, semerau at hotmail.com wrote:
> Are sessions tied to an instance of MarkLogic server, an Enode, a cluster, or a group?
An E-node.
> If I have a multi-node cluster, am I going to find that only one node in that cluster has my user's session?
Yes.
> If so, is the recommended approach to create a custom session handler by writing session data into the DB?
That's what MarkMail did. You can also use session affinity at your load balancer.
Let me know if you'd be interested in the MarkMail db-backed session code.
> Are sessions implemented as sessions in the embedded web server (Apache I think),
There's no third-party embedded web server; app server functionality is a core feature of MarkLogic.
> or are they written to the DB somewhere?
No, they're transient.
-jh-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20101028/0e87b8e0/attachment.html
More information about the General
mailing list