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 8239077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:01:21+00:00 2026-06-07T20:01:21+00:00

I have a login form which redirects to a php script that then checks

  • 0

I have a login form which redirects to a php script that then checks into the database if the user is registered and all that good stuff, what i want to do it’s that i want firefox or chrome remember the username and password ass it happens on all other pages.
Here is my code:

<form id="loginForm" action="../php/login.php" method="post">
            <table>
                <tr>
                    <td><label for="user">Username :</label></td>
                    <td><input name="user" id="user" type="text" /></td>                                        
                </tr>
                <tr>
                    <td><label for="password">Password :</label></td>
                    <td><input name="password" id="password" type="password" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td id="subCont"><input id="submit" type="submit" value="Login"></td>
                </tr>
            </table>
        </form>

And i’m going to be handling all the information with jQuery Ajax method

var form = $('#loginForm');             

            form.on('submit',function(e){
                e.preventDefault();
                $this = $(this);
                $.ajax({
                    type : 'post',
                    url  : 'php/login.php',
                    data : $this.serialize(),
                    dataType : 'json',
                    success  : function(r){

                    },
                    error : function(r){
                        window.alert(r.Message);
                    }
                });
            });
  • 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-06-07T20:01:23+00:00Added an answer on June 7, 2026 at 8:01 pm

    Remembering usernames and passwords is an option in the user’s browser, and not something that you can control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a login form which appears at the top of all of my
I have a child page LoginContent.aspx which contains a login form. If the user
I have a login form that has Username and password as inputs from user
On my website I have a PHP script which (when user enters a username
I have this login form which uses AJAX to query a database for checking
I have a php application which redirects to the login page if the session
I have a checklogin.php script that works fine to redirect a user to a
I have a simple html login form which is validated with javascript before its
I have a login form, which needs to be re-directed to the main page
Possible Duplicate: Checking for an SQL result in VB.NET I have login form which

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.