[MarkLogic Dev General] Question on sessions
jhunter at marklogic.com
Thu Oct 28 13:12:48 PDT 2010
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?
> If I have a multi-node cluster, am I going to find that only one node in that cluster has my user's session?
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General