Hi Ryan, Not sure, but it could be that you need to execute xdmp:login at *each* request..
Kind regards, Geert > drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > [email protected] > Sent: vrijdag 29 oktober 2010 0:10 > To: [email protected] > Subject: Re: [MarkLogic Dev General] Question on sessions > > 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
