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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:30:24+00:00 2026-06-05T12:30:24+00:00

How do websites (such as this one) handle log-ins? The only way I know

  • 0

How do websites (such as this one) handle log-ins? The only way I know is to take the username and password using an HTML form and use PHP to check it against a database and if it matches creates a session. In every page that requires a user to be logged in have

<?php
if($_SESSION['loggedIn'] != 'true')
    header( 'Location: login.html' );
?>
<HTML>
...

But according to this page <input type="password"> is transferred in clear text so anything using HTML’s input is bad. According to the JavaScript Kit all JavaScript password scripts are insecure. What can one use?

  • 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-05T12:30:25+00:00Added an answer on June 5, 2026 at 12:30 pm

    The simple scenario you outline above is about how it usually works. <input type="password"> is by default sent to the server in plain text, which is why login pages should use HTTPS to encrypt that communication. JavaScript has nothing to do with this.

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

Sidebar

Related Questions

I'm using this script to create a watermark on one of client's websites the
Many ARIA demonstration websites use code such as: <label for=name id=label-name>Your Name</label> <input id=name
I'm sorry for maybe making such a basic question but in ASP.NET websites what
Now I've seen loads of websites that look great on the iphone, such as
When creating a website using Asp.Net and using controls such as the ListView is
At my website, I was using URL addresses such as http://me.example.com/index.php?p=home Then I decided
I'm trying to optimize SEO readability on our websites and one issue I've come
I'm working on a browser-based RPG for one of my websites, and right now
How time consuming is it to move a website built using Webforms to one
I know that somewhere in the history of the internet this must have been

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.