Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1000841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:34:35+00:00 2026-05-16T07:34:35+00:00

How can I use HTTP basic Authentication and have the user submit their Username

  • 0

How can I use HTTP basic Authentication and have the user submit their Username and Password in a HTML form and have it Authenticate using HTTP Basic Authentication.

I heard that Internet Explorer no longer supports the use of http://user:password@website.com no more so I don’t know the best way to approach this.

Use of PHP and javascript and HTML is OK. I don’t want to use PERL and I perfer no big javascript libs.

If you don’t think HTTP Basic Auth. is the best way, please recommend something easy and simple to do. It will only be a login site for 5-6 people. No need to complicate it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:34:35+00:00Added an answer on May 16, 2026 at 7:34 am

    jQuery library has ajax function which has “password” and “user” parameter for Authentication. When user click login you can get value of login and password and passed to $.ajax function.

    $('#submit').click(function() {
       $.ajax({
          url: 'authenticated.php',
          username: $('#login').val(),
          password: $('#passwd').val(),
          success: function(data) {
             //do something with data from the server
          }
       });
       return false;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed a Webservice on JBossAS 5.1 GA. To use HTTP Basic Authentication,
What is the best way to use preemptive basic http authentication using HttpUrlConnection. (Assume
I use Devise and Basic HTTP Authentication to access user areas from a mobile
I have spring-security configured using basic and form based authentication as per auto-config='true' .
Can I use HTTP authentication without the pop-up window?
Try to download this page: http://www.4shared.com/get/B4AgMkcw/cookies.html I can use wget/firefox to get the whole
I'm trying to use Basic HTTP Authentication and followed the example on the PHP
We have an web app what uses Basic HTTP authentication. web.xml ... <login-config> <auth-method>BASIC</auth-method>
For example to get the favicon of a site I can use http://www.google.com/s2/favicons?domain= and
Can i only use HTTP handlers or HTTP modules if i use my ASP.NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.