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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:59:57+00:00 2026-06-03T09:59:57+00:00

The first time a user logs into my app, I’d like to show them

  • 0

The first time a user logs into my app, I’d like to show them a jQuery dialog with general information.

To check whether a user has logged in, I can check the last_login field in the mySQL database–if it’s empty, then the user hasn’t yet logged in.

I also know how to setup jQuery dialogs.

But I don’t think I can use jQuery and mySQL together, so I’d like to know what others have used to solve this problem. I’ve looked at some of the other questions here on SO; haven’t found any that put the first-time login and the popup together.

I’m using Codeigniter for my framework.

  • 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-03T09:59:58+00:00Added an answer on June 3, 2026 at 9:59 am

    When you’re validating login, just pass a parameter to the page saying that it’s the first login. So validate as normal, but just tell the page you get redirected to that it is the user’s first time (via that mysql column).

    The page you view when you successfully login will check to see if that parameter is passed and, if it is, will pop the modal.

    Look here to read about modals: http://jqueryui.com/demos/dialog/. You can set the variable in session, as mentioned, or you could pass it as a querystring parameter. You can use that variable to determine whether or not to fire the modal.

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

Sidebar

Related Questions

Here's the scenario: if this is a user's first time logging into my web
I am integrating my app with FaceBook on iPhone. When the first time user
long time reader first time user. I'm putting together my first RoR application and
First time cake user and I'm having real apache problems. For some reason the
First time stackoverflow user but occasional lurker, hope you guys can help me out.
In case user refuse to allow location update when on first time launch. how
I'm writing some user controls for the first time and I'm wondering if there's
logging into django admin fails when 'log in' button is pressed first time, but
first time poster and TDD adopter. :-) I'll be a bit verbose so please
first time posting in StackOverflow. :D I need my software to add a couple

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.