We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Lotus iNotes Login from HTML Post form

jennifer_merritt
on
Medium Priority
1,481 Views
Last Modified: 2013-12-18
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.

https://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
Comment
Watch Question

Sjef BosmanGroupware Consultant
CERTIFIED EXPERT

Commented:
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

Author

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.
Groupware Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

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"
Sjef BosmanGroupware Consultant
CERTIFIED EXPERT

Commented:
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!

Author

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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.