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

  • Home
  • SEARCH
  • 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 6364619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:11:17+00:00 2026-05-25T00:11:17+00:00

I am building a website for fun, I have a question and don’t know

  • 0

I am building a website for fun, I have a question and don’t know where to look for the answer.

On a successful login, I am setting a session with the user’s email and then using that to pull the necessary data from mysql. Is there any downsides to doing it like this? Or would it be better appending the user’s email to the url?

How safe is it to store the user’s email in a session? I thought about hashing the session, but that would also mean hashing it when they signup/ login etc, so even if the session file could be viewed it would take some serious hacking to get the email?

And how common is it for people to hash, both password and email? Is it really needed??

  • 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-25T00:11:17+00:00Added an answer on May 25, 2026 at 12:11 am

    It is a bad idea to add any personal information to an URL for authorisation purposes. I would go with the hashing of the user’s credentials, with a pseudorandom salt.

    You should really salted-hash at last the password the very second you get it the first time – and never use the clear-text pw ever again.

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

Sidebar

Related Questions

So I'm building a website in php codeigniter, and I have user submitted articles...
I am building a small website for fun/learning using a fairly standard Web/Service/Data Access
I'm building a website that will be an open-source, user-contributed content kind of thing,
I'm building a website that will require user registration and logon. I would like
Building a website using a PHP based Ecommerce product Magento. The problem I have
Im building a website/webapp that uses sockets.io Currently if the user is using safari
Am building a website which will have articles, policies and laws and text stuffs.
I'm building a website for my band and I have lots experience building websites
I am building a website for a team that I am on. We have
I am building a website just for fun of learning programming more fully, but

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.