menubar!!!

How to make an authentification user in the menubar....
unauthorize user can't view some form if they don't have an authorize
permission ...
what is coding in javascript...

Comments

  • There are several ways of doing that. One of them is to make different pages - one for authorized personal, other for unauthorized personal. Then, make the unauthorized page public (anyone can enter) and the authorized page requiring a password.

    The problem is that password requesting in javascript isn't very nice... The way I know is kinda precarious: the password is based on the authorized page's URL (e.g.: password + ".html" = URL)

    [code]

    function enterpass (pass) {
    document.location.href = pass + ".html"
    }





    [/code]

    In this example, if the password is "banana", the authorized page would need to be banana.html

    -- Secret_Doom - Leonardo Pignataro --

    secret_doom@hotmail.com
    www.batch.hpg.com.br

    : How to make an authentification user in the menubar....
    : unauthorize user can't view some form if they don't have an authorize
    : permission ...
    : what is coding in javascript...
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion