Hi,

I am trying to develop a custom log in page and display the users last log in 
details but xdmp:user-last-login seems to not return anything.

Initially I have a http server with last log in details enabled and 
authentication scheme to basic. While I accessed a sample.xqy over this server 
on IE, I logged in with user credentials and in the subsequent accesses, I was 
able to get the last log in details using the below line.

xdmp:user-last-login(xdmp:get-request-user())//*:last-successful-login/text()

This worked pretty well with basic authentication scheme.

Now I developed a custom login page and set the application-level 
authentication scheme on the application server.
After I log in, I am able to see the user name in the sample.xqy but not the 
last log in details. The same line is giving no response.

When I executed the below query in qconsole, it is giving nothing though I have 
an xml related to this user in the last log in database.
xdmp:user-last-login(xdmp:user("ldapuser1"))


Any thoughts?


Regards,
Sudheer



---
This communication may contain confidential and/or privileged information. If 
you are not the intended recipient (or have received this communication in 
error) please notify the sender immediately and destroy this communication. Any 
unauthorized copying, disclosure or distribution of the material in this 
communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information 
contained in this communication should not be regarded as such.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to