I tried this Java Tip, but was unsuccessful. And by unsuccessful, I mean that the response I read back was the same exact page.
Here’s a partial screenshot of the initial page –

As you can see, I’m trying to fill out the User Name and Password / Passcode fields. This will allow me to access other pages of interest. If it helps, here’s a snippet of the form tag –
<form method="post" action="platform.cgi">
From the action attribute, I surmised that on a post, it would execute the platform.cgi script. Is this correct? Also, as for the Login button, it invokes a javascript method (i.e. loginValidate()) –
<input type="submit" value="Login" name="umi.loginAuth" class="b0" title="Login" onclick="return loginValidate ()">
Also, here’s a snippet of the two text fields, if that helps as well –
<input type="text" name="web0x120010" id="txtUserName" size="26" class="txtbox" maxlength="31">
<input type="password" name="web0x120011" id="txtPwd" size="26" class="txtbox" maxlength="64">
When I filled out the content as in the example, I used txtUserName and txtPwd, but that did not work. Any ideas or other resources that may help me?
If this isn’t clear enough, please let me know – Thanks!
Post with the names (
web0x120010andweb0x120011), not the ids of the input boxes and post theumi.loginAuth=Loginkey-value pair too. If it doesn’t help, install the HttpFox Firefox extension and record a normal login request and check the post parameters in the log.According to http://stupidunixtricks.blogspot.com/2010_10_01_archive.html, you should take care about cookies too.