Custom login pages are simple - all you have to do is post the correct variables to the FCC. This snippet is from login.fcc, so in this case the web agent automatically populates the $$ variables and then sends messages to itself. If you send variables from another source (non fcc), you will need to specify the agent name, username, password and target in your message.
<form action="login.fcc" method="post"> <div class="formRow"> <table> <tr> <td><P><span>Username :</span></P></td> <td><P><input name="username" type="text" value="" style="width:150px" /></P></td> </tr> <tr> <td><P><span>Password :</span></P></td> <td><P><input name="password" type="password" value="" style="width:150px" /></P></td> </tr> </table> </div> <INPUT TYPE=HIDDEN NAME="SMENC" VALUE="ISO-8859-1"> <INPUT type=HIDDEN name="SMLOCALE" value="US-EN"> <INPUT type=HIDDEN name="SMRETRIES" value="1"> <input type=hidden name=target value="$$target$$"> <input type=hidden name=smquerydata value="$$smquerydata$$"> <input type=hidden name=smauthreason value="$$smauthreason$$"> <input type=hidden name=smagentname value="$$smagentname$$"> <input type=hidden name=postpreservationdata value="$$postpreservationdata$$"> <div class="formRow"> <P><input name="submit" type="submit" value="Login" /> <input name="Reset" type="reset" /></P> </div> </form>
source share