[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1422
  • Last Modified:

Lotus iNotes Login from HTML Post form

Hello Experts.
I would like to use a url to loginto lotus iNotes. The url i am currently using is : https://server.domain.org/webmailredirect.nsf?Login=iwaredir.nsf&username=atestuser&password=atestpassword

I would like to submit this using a form. I can get it to work with this form. But...I need to use the POST and Not GET method.

For some reason the form will not work when i use Post. It will work perfectly when i use get.

What i am trying to accoplish is a small form on the main page of the intranet that users can put their username and password in that will open lotus iNotes.

I found this article, but i need the username and password to not be in the URL.

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/Lotus_SmartSuite/Lotus_Notes/Q_20649579.html 
<form id="form1" name="form1" method="post" action="https://server.domain.org/redirectDWA.nsf" target="_blank" enctype="application/x-www-form-urlencoded">
 
  	<input type="hidden" name="Login"  id="Login" value="iwaredir%2Ensf" />


    <input type="hidden" name="username" id="username"  value="testuser"/> 

    <input type="hidden" name="password" id="password" value="testpassword"/>

</form>

Open in new window


Thanks :o)
Jennifer
0
jennifer_merritt
Asked:
jennifer_merritt
  • 3
  • 3
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
Any reason you don't want to use the customizable login-form in domcfg.nsf ? You could put it into an IFRAME...

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_admin.nsf/f4b82fbb75e942a6852566ac0037f284/236f179d441b18d48525706f0065d988?OpenDocument
0
 
jennifer_merrittAuthor Commented:
Actually i need the form to work as it is. The fields will be filled from a script. I just need to know how to get the form to use the POST method instead of GET.
0
 
Sjef BosmanGroupware ConsultantCommented:
Hmmm... What do you get when you do a POST? Is there an error message? Maybe the server's log.nsf contains the necessary clue... see the Miscellaneous section.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jennifer_merrittAuthor Commented:
Not sure why this worked, but it did:

I changed the form action from 'action="https://server.domain.org/redirectDWA.nsf"'

to: action="https://server.domain.org/webmailredirect.nsf?login"
0
 
Sjef BosmanGroupware ConsultantCommented:
Guessing: it might be a rights issue. What are the differences in the user's rights on those 2 databases? I assume that, for a POST, at least Depositor or Author rights are required.

In any case: thanks for the grade!
0
 
jennifer_merrittAuthor Commented:
i think the problem was with the ?login at the end of the URL. Because it worked for both databases...redirectDWA and webmailredirect.nsf.

Odd i know, but i am sooooo glad that it finally works.

thanks for all of your help!

Jennifer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now