I need your Domino expertise please. This involves Cookies and saving Web user data--mainly the user name. I'm trying to do this without Profile documents too.
Ok, my situation...I'll try to keep it simple.
I have a Domino form (talking Web only). When the form is opened on the Web, Field "C" is set via the "onload" event using js, retrieves appropriate cookie data--in this case the user's name (no need to worry about how this cookie is set). I have another field "L" which is computed using the @DBLookup in which I'm trying to do a view lookup using the user's name loaded in Field "C" as the key. Thus, I'm trying to retrieve user's data stored in a users document previously saved. However, when trying to obtain field's "C" data (user name) via the logic in the @DBLookup command, "C" is empty.
I know it has something to do with the fact that the "onload" event runs after the Domino document is loaded. Brian, can you help me out? Hopefully I've explained my requirement so that you can assist me by either giving me some pointers on how to correct my logic described above or by telling me of another approach.
The problem is that the Domino server, which does @DBlookup does not have access to the "C" information. The best way to solve this is to have the calling URL include the user's Name. You can then parse the name, and provide it to the page you are returning to the browser, so the @DBLookup will work.
Dig Deeper on Lotus Notes Domino Administration Tools
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... 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.