Thanks Jason. I would like to see that code.

Is xdmp:login() tied to an Enode also? If I log in on one Enode am I logged in 
on all Enodes? If I don't have session affinity what's the recommended approach 
to login across the cluster?

From: [email protected]
Date: Thu, 28 Oct 2010 13:12:48 -0700
To: [email protected]
Subject: Re: [MarkLogic Dev General] Question on sessions



Hi Ryan,
On Oct 28, 2010, at 12:48 PM, [email protected] 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-

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general                         
                  
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to