Session.getdatabase

I’m calling an agent from ajax, and this agent is getting another database in another server via session.getdatabase(“servername”,“otherdb.nsf”).It has been failing. Is there a way to make this work?

Subject: Session.getdatabase

In the server document where the database is located, ajax must be listed on the Security tab under “Trusted servers”.

Subject: RE: Session.getdatabase

Thanks!!!