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

Modify existing application to display initial security page

I am attempting to modify an existing application to display an initial security page to the user if he/she has not previously agreed to our security policy. A security database, external to the application, maintains the user's status (he/she has read and agreed with the policy).

I believe that I need to put the code to implement this in the page's JSHeader; however, I don't know how to get the Web browser to interact with the Domino server. I have been reading about and experimenting with applets and servlets to know avail.

Any suggestions/advice/examples that you could provide would be greatly appreciated.

Here are two options:
  1. If you use a cookie to track whether the user has agreed to the security policy, then you can put JavaScript code in the onLoad event of the first form or page in the application to check the cookie value and determine whether to display the security page or the Domino form/page. (When the user confirms that they agree, you can set the cookie value.)

  2. If you want to avoid cookies, you could have users access the database by a link that launches an agent. (Or use a frameset and set the main content frame to launch a URL that triggers the agent.)

    The agent can use LotusScript to check the security database in the background. If the user has not agreed to the security policy, the agent can launch the policy form. Otherwise, the agent can launch the database.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Lotus Notes Domino Policy Management

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 ...