Home | Products | Downloads | Order Now | Contact us      

   Best Webmaster Software Tools for Website Building!

Products > HTML Password Lock
 

HTML Password Lock FAQ

 

Login box design:

Can I transfer username and password as parameters to the protected file, so the visitor does not need to enter username and password manually?
I want to add a login box to my home page, how can I do this?

Can I transfer username and password as parameters to the protected file?

Yes. You can directly transfer username and password as parameters to the a protected page. In this way, your visitors do not need to enter password to access the protected content.

For single password mode, the syntax is:

http://www.yoursite.com/locked.html?mtpwd=XXX

The parameter must be "mtpwd".

For user/password mode, the syntax is:

http://www.yoursite.com/locked.html?mtusr=XXX&mtpwd=XXX

The parameters must be "mtusr" and "mtpwd".

I want to add a login box to my home page, how can I do this?

Besides using a template file to customize the login page style, you can also place a login box on another web page, such as your home page. When the visitor inputs the username and password in the login box, he will be redirected to the protected page.

The username and password can be transferred as URL parameters or cookies to a protected page.

When transfering as URL parameters, the username and password will display in the URL address, the URL string in the address bar may look like http://www.yoursite.com/locked.html?mtusr=XXX&mtpwd=XXX.

Whereas transfering as cookies, the transfered username and password will be hidden. But transfering as cookies only works for protection type "Session" and "Cookie", it does not work for "Page" protection type. The protection type can be selected in Step 3, where "Session" is the default option.

Single password mode (transfering password as cookie):

 

Online Example:

Example [Password is "mtopsoft12345"]
Password("mtopsoft12345"):

Source code of Single Password Mode login box:

Note: The name of the <input> filed must be "mtpwd", and you must change the value in the script this.location.href="example1.htm" to the address of your own protected file.

 

User/password mode: (transfering user and password as cookies)

 

Online Example:
Example [User: Jack,  Password: Jack123]
Username("Jack"):
Password("Jack123")     

Source code of User/Password Mode login box:

Note: The name of the <input> filed must be "mtusr" and "mtpwd", and you must change the value in the script this.location.href="example2.htm" to the address of your own protected file.

Single password mode (transfering password as URL parameter):

 

Online Example:

Example [Password is "mtopsoft12345"]
Password("mtopsoft12345"):

Source code of Single Password Mode login box:

Note: The name of the <input> filed must be "mtpwd", and you must change the action value to the address of your own protected file.

 

 

User/password mode: (transfering user and password as URL parameters)

 

Online Example:
Example [User: Jack,  Password: Jack123]
Username("Jack"):
Password("Jack123")     

Source code of User/Password Mode login box:

Note: The name of the <input> filed must be "mtusr" and "mtpwd", and you must change the action value to the address of your own protected file.

 

Search This Site:

Advanced

Main

HTML Password Lock
Screenshots
Order Now!
  Download Now

Help

Online Help
Quick Start
FAQ

Online Example

Single Password
Multi-Users/Passwords

Related Products

Search Engine Composer
Encrypt HTML Pro
Web Button Menu Maker

Who likes our products:

Rated 4.5 stars at SnapFiles
Pop at Cnet Download.com

Rated 5 Stars at The File Transit!

Home | Download | Order Now | Contact us | Links
©Copyright 2002 - 2007 MTop Software Inc. All Rights Reserved.