sign on without login formIt's not that hard to do. You need to do an HTTP
post to http://www.yourdomain.com:8383/login.cgi. Substitute
"www.yourdomain.com" with your domain (heh heh) and the 8383 with your port
# (8383 is the default) also you need to post the following values to the
form:

page= "login"
userid = "Username"
passwd = "Password"

Substitute the appropriate Username and password and you are all set.
 Your best bet is to dynamically create a page that autosubmits a post
request by using javascript.  Here's a sample page:

-=-=-=-=-=-=-=-=-=-=-=-=
<html>
<head></head>
<script language="JavaScript">
<!--
function submitForm() {document.WMLogin.submit();}
 //-->
</script>
<body onLoad="submitForm();">
<form method="POST" action="http://www.yourdomain.com:8383/login.cgi"
name="WMLogin">
<input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="Username">
<input type="hidden" name="passwd" value="Password">
</form>

</body>
</html>

-=-=-=-=-=-=-=-=-=-
If you save this as an html file, it will work pretty much as is. Don't
forget the proper substitutions.  I use ASP to substitute the values into
the form. The username is stored in a session variable and the password is
fetched from a database. You may need to strip (or modify the target of) the
logoff button from the webmail templates.

HTH,

David
----- Original Message -----
From: Alonso, Kim
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 4:37 PM
Subject: [IMail Forum] sign on without login form


How can I sign on to Imail Web messaging without using the login form??  I
have the user name and password in a servlet and want to bypass the login
form.  All help is appreciated.

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to