Problem solve Get help with specific problems with your technologies, process and projects.

Field's C data shows empty when retrieving user data

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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...