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

The Archive Base Latest Questions

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

I have it working to a point where I think it’s usable and I’m

  • 0

I have it working to a point where I think it’s usable and I’m quite happy with it.
With that said, I noticed a few things. Most if not all places validate against email or username along with an auto-generated hash code that’s X chars long. The URL I send the user looks like the following.

http://www.example.com/account/confirm/bob/cbv54c09023DpW

However, you wouldn’t want to verify the account unless the user logs in successfully. So if hit that URL and I’m not logged in, it’s going to force me to log in prior to validation. My question is, if that’s the case, I would rather validate the account by using the “logged in” username (or email) and the confirmation code that gets sent out.

I ask because I noticed sites like Twitter and Facebook will send such notices but if you attempt to modify the URL (i.e. example.com/account/confirm/sue/cbv54c09023DpW), it’ll log you in but will tell you “Can’t validate Sue’s account while logged in as Bob” or something similar. How are you guys accomplishing this? Does it make sense to pass the username/email into the URL string?

  • 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-14T00:20:26+00:00Added an answer on May 14, 2026 at 12:20 am

    I’m just going to send the hash code only

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

Sidebar

Related Questions

I have working registration script the only problem is that i do not know
I have my current google maps code working to the point where if I
We have a IRepository pattern working quite well for us with our EF and
I have a little problem that i think it's easy so get a solution,
I have been working on a JSON parser for a little while https://github.com/nathanday/ndjson that
I have a cakePHP app working at http://domain1.com/domain2 , and want to point http://domain2.com/
I have some queries that are working well separately. Each of these queries relates
We have a fairly complex signed applet that's been working fine for us since
In my line of work I'm mostly working on business applications that have a
I have a client-server web app I'm working on. There's a point in the

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.