Tryng to Post to login.jsp

jony
Participant

Tryng to Post to login.jsp

Hi, I'm trying to setup a link to login to constant contact from our web application.


https://www.constantcontact.com/login.jsp?loginName=myusername&loginPassword=mypassword


He're the form i'm trying to post to...


<code>


<form id="loginform" name="login_form" class="form" action="https://www.constantcontact.com/login.jsp" method="post">

    <div class="fields">

        <fieldset>

                <div class="row">

                    <label for="loginName" class="required">User Name:</label>

                    <input id="loginName" name="loginName" class="textfield" tabindex="1" type="text" value="" size="35" maxlength="50"/>

                </div>



                <div class="row">

                    <label for="loginPassword" class="required">Password:</label>

                    <input id="loginPassword" name="loginPassword" class="textfield" tabindex="2" type="password" value="" size="35" maxlength="80"/>

                </div>



                <div class="row forgot">

                    <span class="fieldtext"> Forgot your <a href="http://ui.constantcontact.com/rnavmap/em/site/recoverUsername" target="_blank" rel="nofollow">username</a> or <a href="https://ui.constantcontact.com/rnavmap/em/site/passwordReset" target="_blank" rel="nofollow">password</a>?</span>

                </div>



                <div class="row remember">

                    <input id="rememberUserName1" name="rememberUserName" tabindex="0" type="checkbox" value="true"/><label for="rememberUserName1"> Remember me</label><input type="hidden" name="_rememberUserName" value="on"/>                   

                </div>



       



                <div class="row submit">

                    <input id="btn_login" tabindex="3" value="Login" class="btn-active" name="Submit" type="submit" />

                </div>

        </fieldset>

    </div>

</form>


</code>

1 REPLY 1
DaveBerard
Moderator

Hi Jony,


 


That page you are posting to does not allow any direct logins to be made.  It is not the code of your form that is incorrect, it is the fact we do not allow that type of login to happen.  We do offer a Partner API that will allow you to create a login link, however that API is only available to Business Partners.  If you are interested in this type of feature or not already a partner, please send an email to our appconnect team

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page