Is there a way that I can authenticate and run the agent in one go, or run both separately but on the same session? I've found loads of info on the Web regarding "java.net.HttpURLConnection," but this only seems to work if I'm calling a servlet on a Web server.
String Cookie = URLConnection. GetRequestProperty("DomAuthSessId");
This will retrieve a session authentication cookie –- that's after you have authenticated the first time.
Then you will use this:
to apply the authentication information on your second session with the Domino server.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Access, Permissions and Authentication
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields. Continue Reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client. Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.