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 won't 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 protected page. This way, your visitors won't need to enter a username and/or 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. The visitor who correctly inputs the username and password in the login box will be redirected to the protected page.

The login box only works for protection types "Session" and "Cookie", it does not work for the "Page" protection type. You can select the protection type in Step 3, where "Session" is the default option.

Single password mode (transferring 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: (transferring 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.

 

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
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 Mtopsoft.com All Rights Reserved.