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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:43:37+00:00 2026-05-26T03:43:37+00:00

I am currently creating user login. If the user logs in with a valid

  • 0

I am currently creating user login. If the user logs in with a valid username/password combination, I want it to direct to a webpage that has a lot of user specific content. This content needs to be downloaded via a php file that takes in the username/password from the login to gain access to and echo out the json encoded user-specific content. However, I’m very new to html, so I’m not really sure how to do this, since the login form and the user-specific content page are two different webpages… how do I pass the user-specific content from the log-in page to the new page once they log in successfully?

Thanks! Some relevant code is below, it may or may not help clarify my question:

var x = $.post("../research/CruTracker/post_register.php",
{
    username:username,
    password:password,
    id:'web'
},
function (data, textStatus, jqXHR) {
    if(data.success)
    {
        window.location = "home.html"
    }
},
    "json"
);
  • 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-26T03:43:37+00:00Added an answer on May 26, 2026 at 3:43 am

    typically, once logged in you would save a logged in flag and user id in a session on your server. once they are redirected to the home page (which should be a php page), php uses the session data to verify that the user is logged in, and pulls whatever other user specific data from the database it needs to build the page.

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

Sidebar

Related Questions

I am creating a facebook application in asp.net. I want that when user login
I'm about to start creating a new website that has standard user management (customers
I'm currently creating a user interface using WPF and would like to display a
I am currently creating a type of classifieds website, and when the user enters
I'm currently creating an explicit reference to this in the outer class so that
I'm currently creating an application for a customer that will allow them to automatically
We're currently in the process of re-creating a brand new security model that dwarfs
I'm currently developing a large site that handles user registrations. A social networking website
I'm trying to start a new user session by creating a helper that POSTs
I'm currently creating a Login form and have this code: string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;

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.