• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Windows: IIS: Auto-Login Via Script

A

abner66

Guest
Using Auto-Login Scripts from Foreign Membership databases can be accomplished using IIS and your Favorite Scripting Language.

The KEY to auto-logging into Sitebuilder is that the information must use the POST method.

So to accomplish this, I simply create a Form with all of the required hidden fields, and a button. Next, As soon as the form is loaded, using JavaScript I trigger an auto-fire to "Click" the button - which causes the page to be submitted to the login.php file. The nice thing about this method is that the form can be stored on any server - and not just the Sitebuilder one.

Here are the hidden fields that need to be POSTed:
cmd=login
sb_username
sb_password
sb_ftp_host
sb_ftp_host_name
sb_site_identity

Hope this helps...

...Paul
 
Hello Paul,

Thanks so much for your information. This is really what I'm looking for because the original login is just too difficult for newbies and even with detailed instructions on the web, customers just keep sending support tickets.

I have one question that I hope you would be so kind to help me with :)

1) Could you by any chance post an HTML code of an autologin form, including the javascript code? I'm trying to implement this to my PHP script on a linux box.

I would greatly appreciate your help :)

Regards,

Checo
 
Here is some sample code...

Here is a code sample to do the Auto-Login. You will Need to replace the Items in brackets with your PHP Code to dynamically load the Variables.

...Paul


<html>
<header>

</header>
<body onLoad="javascript:document.myfrm.submit();">
<form name="myfrm" action="http://<YourSiteBuilderAddress>/login.php" method="post">
<input type="hidden" name="sb_username" value="<CustUserName>">
<input type="hidden" name="sb_ftp_host" value="<YourFTPHostName>">
<input type="hidden" name="sb_password" value="<CustPassword">
<input type="hidden" name="sb_site_identity" value="<CustWebsiteIdentity">
<input type="hidden" name="cmd" value="login">
<input type="hidden" name="sb_ftp_host_name" value="<YourFTPHostName">
<input type="submit" name="SB" name="Submit">
</form>
</body>
 
Back
Top