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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:33:33+00:00 2026-05-26T22:33:33+00:00

I am trying to add a login scroll-down window in my page. The window

  • 0

I am trying to add a login scroll-down window in my page. The window itself works fine (http://pasionesargentas.webatu.com/test4.php), but now I need some help- I need an approach as to how to integrate the new input form to my actual log in system. In the scroll-down window you see the two fields (username and password) and the submit button. But the actual login system I have a totally new window (http://pasionesargentas.webatu.com/signin.php) where I do the whole checking and session start. I could probably merge the php login code with the scroll-down window, but I would not prefer to do that since that scroll-down window is in the header and I wouldn’t like to run the check every single time a page (with the header) is opened.
I am really afraid of not being understood so here I am adding some more lines of the same:

I have a javascript scroll down window with two fields (u/n and pass) and a submit button but I don’t know how to check those values with the database so I can start the session for that user.

  • 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-26T22:33:34+00:00Added an answer on May 26, 2026 at 10:33 pm

    You use AJAX. I’ll just write my code using the jQuery library, as that is what I am familiar with.

    When you press the Submit button on your login form, the browser sends a POST request to your login PHP page, which processes the request and sets up a session for the user.

    You can emulate this behavior with JavaScript:

    $.post('login.php', $('#id_of_login_form').serialize(), function(data) {
      alert('You have been logged in!');
    });
    

    This code will log you into your website from a different page.

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

Sidebar

Related Questions

I'm trying to add simple login page to ASP.NET MVC app. I actually use
I have been trying add facebook login to my page. I have facebook login
I am trying to add my Facebook application through an api. I used http://www.facebook.com/add.php?api_key=xxx&pages=1&page=xxx
I am trying to add some additional logic to the 'Promoted to front page'
I'm trying add a tab to my web page that looks like this: Using
I'm using Flash CS4 and AS 3.0 I'm trying to add a login for
new to winform development. I am trying to add a 'login form' to my
I'm trying to create a Login page, not worrying about actually logging in yet,
Trying to add Facebook login / registration to a site I'm working on. Been
Still trying to work Facebook login to my website. I'm trying to add 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.