Link to website

Discussion in 'AutoCAD' started by Max, Jul 11, 2004.

  1. Max

    Max Guest

    Hi

    On my menu ssytem I want to user to select an item on the menu to go to a
    website that is password protected without entering the username/password.
    Can you enter the username/password in the menu so the user doesn't have to
    enter it?

    my menu item would be...

    ID_website [My Website](command "browser"
    "http://www.mywebsite.com/passwordprotected");

    Thanks for the help

    max
     
    Max, Jul 11, 2004
    #1
  2. Max

    Max Guest

    Yes ...but the menu system will be used by different users...and a lot of
    users delete their cookies all the time...so by entering the
    username/password, in the menu, they don't have to worry about entering it
    in all the time.
     
    Max, Jul 11, 2004
    #2
  3. Max

    clintonG Guest

    You need to use what is called a QueryString, i.e. one or more
    name=value pairs that is appended to the URL.

    website.com/somepage.aspx?name=userName&pwd=userPassword

    When the somepage.aspx file is requested from the server the
    QueryString values will be read by code in the somepage.aspx file.
    The name and password values are usually stored in a database where
    those obtained from the QueryString are used to compare with those
    in the database. This is called 'authentication.'

    If the user is authenticated the page continues to process, if the
    request is not authenticated the page redirects to a login page. There
    are variations on this methodology of course but what I've described is
    how authentication is done on most websites.

    --
    <%= Clinton Gallagher
    A/E/C Consulting, Web Design, e-Commerce Software Development
    Wauwatosa, Milwaukee County, Wisconsin USA
    NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
    URL http://www.metromilwaukee.com/clintongallagher/







     
    clintonG, Jul 11, 2004
    #3
  4. Max

    James Murphy Guest

    Max, I'm not an web page guru but I think it all depends on how that website
    checks for the user/password. Java, ASP, VB or whatever. The thing you need
    to do is get with the siteowner and see what it requires. If its your
    company's site why not get the owner to create one page for the index that
    doesn't require a password for internal use.


    Murph

     
    James Murphy, Jul 11, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.