Hi All,
I am creating an xsjs service which does a simple select query and return a response but when I hit the xsjs url in the browser, I get the following error:
{"Error":"db.getConnection: expects an authenticated session"}
How do I get the authentication session and pass it on to $.db.getConnection? Any ideas?
Currently, I am doing the following:
| var conn = $.db.getConnection(); |
| var pstmt = conn.prepareStatement(query); | ||
var rs = pstmt.executeQuery(); |
Thank you!



.jpg)



