Here is the EXACT script we are running. Looks like I left out on eportion
and I apologize!
<!--------------START HERE------------------->
<html>
<head></head>
<script language="JavaScript"><!--
function submitForm() {document.myform.submit();}
//--></script>
<body onLoad="submitForm();">
<form method="POST" action="http://myserver:8383/login.cgi" name="myform">
<input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="<%=request("username")%>">
<input type="hidden" name="passwd" value="<%=session("emailpassword")%>">
</form>
</body>
</html>
<!--------------END HERE------------------->
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mosu
Sent: Tuesday, August 03, 1999 1:37 PM
To: [EMAIL PROTECTED]
Subject: RE: [IMail Forum] By-passing IMail login screen
Well...now I got an error at both browsers:
-IE4: "Object doesn't support this property or
method"
-Netscape: "document.submit is not a function"
Does this have anything to do with Netscape limitation
on supporting "browser redirect"?
--- Scott Pouliot <[EMAIL PROTECTED]> wrote:
> Instead of frmLogin.submit() try using:
>
> <body OnLoad="document.submit();">
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mosu
> Sent: Monday, August 02, 1999 1:40 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [IMail Forum] By-passing IMail login
> screen
>
>
> Scott,
> It is still the same.
> Using Netscape, I got this error:
> JavaScript Error: http://../Login.asp, line 11:
> frmLogin is not defined.
>
>
>
> --- Scott Pouliot <[EMAIL PROTECTED]> wrote:
> > Mosu,
> >
> > Use an OnLoad event to submit the form via
> > Javascript. I use this and it
> > works for most browsers...
> >
> > <body OnLoad="form.submit();">
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Mosu
> > Sent: Monday, August 02, 1999 12:16 AM
> > To: [EMAIL PROTECTED]
> > Subject: [IMail Forum] By-passing IMail login
> screen
> >
> >
> > I'm developing an application to integrate with
> > IMail
> > engine. My application has a login page and the
> same
> > login arguments will be used for IMail. In my
> case,
> > the user will use my application login interface
> and
> > won't need to login again for IMail (it will be a
> > module inside my application).
> >
> > With the following codes, it works with IE4 but
> not
> > with Netscape4. For Netscape, it stops at this
> page
> > and I need to press "Login" button to proceed.
> >
> > Does anybody have any other solution on this? Any
> > ideas would be much appreciated. Thanks in
> advance.
> >
> > Regards,
> > Mosu
> >
> >
>
------------------------------------------------------
> > <html>
> > <title>By-pass Login Page</title>
> > <body>
> > <form name="frmLogin" method="POST"
> > action="server:8383/login.cgi">
> > <input type="hidden" name="userid"
> value="NAME">
> > <input type="hidden" name="passwd"
> > value="PASSWD">
> > <input type="submit" value="Logon">
> > </form>
> > <script language="Javascript">
> > frmLogin.submit();
> > </script>
> > </body>
> > </html>
> >
>
------------------------------------------------------
> >
> >
>
_____________________________________________________________
> > Do You Yahoo!?
> > Free instant messaging and more at
> > http://messenger.yahoo.com
> >
> > 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.
> >
>
>
_____________________________________________________________
> Do You Yahoo!?
> Free instant messaging and more at
> http://messenger.yahoo.com
>
> 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.
>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
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.