FWIW, I had the same problem, and here's what I did. It's not optimal, but
I'm open to a better solution.
Dave
<%@ Language=VBScript %>
<Script Language=JavaScript>
function SubmitIt()
{
document.myform.submit();
}
</Script>
<HTML>
<HEAD>
</HEAD>
<Body onload="SubmitIt()">
<Form name="myform" Method="POST"
Action="http://vpn.xxx.com:8383/login.cgi">
<input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="<%=GetUserID()%>">
<input type="hidden" name="passwd" value="<%=GetUserPassword()%>">
</Form>
�
</BODY>
</HTML>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris ten Den
Sent: Tuesday, September 21, 1999 9:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Logging in w/o using the standard login.
Unfortunately visible fields were unacceptable, plus the form is on a
different server. Imail would simply not accept anything other than
login.cgi
from us. Wierd...
Scott Pouliot wrote:
> Not true Chris ;-) You can simply create an HTML form with 2 visible
> fields and one hidden field as follows:
>
> <form method="POST" action="http://mywebserver:8383/login.cgi">
> <input type="hidden" name="page" value="login">
> <table width=400>
> <tr valign="top">
> <td>Username<BR><input type=text name="userid" value="" size="15"></td>
> <td width="10"></td>
> <td>Password<BR><input type="password" name="passwd" size="15"></td>
> <td width="10"></td>
> <td><input type="submit" value="Login"></td>
> </tr>
> </table>
> </form>
>
> As long as your form submits to login.cgi running on the IMail side...your
> good to go!
>
> Scott
>
> **********************************************
> Scott Pouliot
> Webmaster - Motocross.com
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> **********************************************
> Visit us for all your Motocross needs!
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris ten Den
> Sent: Monday, September 20, 1999 2:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [IMail Forum] Logging in w/o using the standard login.
>
> I solved the problem. The page that calls the form *MUST* be called
> login.cgi.
> So you have to head into IIS and reference cgi into whatever language dll
> you are using. Such as asp.dll and presto it works great. If you want
> more info just reply!
>
> Chris ten Den wrote:
>
> > I would really really like to be able to log into the Imail server w/o
> > going through the standard login screen. We have an application which
> > already logs people in and creates their account with the imail app.
> > Unfortunately we can't log people into the imail app automatically. It
> > always brings up their login screen. We tried to duplicate their
> > 'Login' form but it only brings us to their login screen again.
> >
> > Essentially we want to have a button that automatically logs the user
> > in.
> >
> > Any help will be greatly appreciated.
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.