Thnx..

I think I got the order wrong. Reading the properties first, updating them 
after that, then using the values from before the update..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens Eric Bloch
Verzonden: donderdag 10 februari 2011 18:03
Aan: General MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Creating session without login?

Sessions will work regardless of authentication type. The first call to
xdmp:set-session-field() will create the session, and result in a session 
cookie 
being sent back to the client.


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Geert Josten 
[[email protected]]
Sent: Thursday, February 10, 2011 8:20 AM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Creating session without login?

Then I must be doing something wrong. I'll take another look..

Thnx!
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens McBeath, Darin W 
(ELS-STL)
Verzonden: donderdag 10 februari 2011 16:00
Aan: General MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Creating session without login?

I have not noticed any problems setting session fields with digest
authentication or basic.

Darin.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Geert
Josten
Sent: Thursday, February 10, 2011 5:15 AM
To: General MarkLogic Developer Discussion
([email protected])
Subject: [MarkLogic Dev General] Creating session without login?

Hi,

I have the impression that xdmp:set-session-field won't work unless you
use application-level authentication. Is there a particular reason why
it is that way? It would be nice if it would be possible to save session
data when the end user used http authentication to login also. I am
reluctant to change the authentication setting to application-level in
certain cases.

Kind regards,
Geert
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
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