Make sure you have the hidden field as follows in your form and it should be
fine:
<input type="hidden" name="page" value="login">
**********************************************
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: Tuesday, September 21, 1999 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Logging in w/o using the standard login.
Half the time we were getting "no document" errors and the rest we were
getting
another kind of HTTP error. So then we threw a multipart/enctype in the
form
tag and it went through to the Imail server but only returned their login
screen. It was not until we renamed the sending asp script as login.cgi
that
the login screen was bypassed. At first I assumed the cgi script was
looking
for the referrer to be login.cgi but as I have seen from your posts it
obviously
is not the case. I'm even more confused now. Fortunately it works the way
it
is.
Vaughn Thurman wrote:
> Something is not clicking here. You submit to login.cgi.... the required
> fields here can be sent as hidden provided that you have a means of
> populating them with appropriate values (Such as ASP, Perl, etc.). You
> package up all your goodies and "POST" it all to LOGIN.CGI. What are you
> talking about that is wanting you to send it login.cgi?
> Did you see my previous message with the demo code for both a form based
> login and for a an ASP based login? I took those from working code. I
have
> lots of users that get in every day that way. What am I missing? Keep
> talking and we will help you get this thing going. What are you using to
> carry their identity around the rest of your site?
> -V
> ----- Original Message -----
> From: Chris ten Den <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 21, 1999 9:58 AM
> 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!
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.