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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:16:06+00:00 2026-05-15T22:16:06+00:00

Bear with me so I can explain the layout of my problem. I am

  • 0

Bear with me so I can explain the layout of my problem. I am working on a website/web application that involves customers searching for real estate information. One feature on the website involves the customer performing a search on one page(well call this page A) and the following page(Page B) returns a list of line items that represent real estate information(agents,homes,etc).

Following the customer being able to view this list of information, they can select “View Profile” to view one of these line items of real estate information. This will then bring them to a page to view a profile(Page C) of the selected information.

The problem I am having is in designing/implementing one of the specifications for this feature. The requirements state that once a customer has proceeded to Page B where they are viewing the information. If they do not choose to go to Page C then an email needs to be sent. They can go back and forth between A and B as many times as they want, but if they fail to choose to go to the next step, then an email needs to be sent.

I apologize if this is a bad description, but I am unfortunately unable to give a more detailed description of the problem. I hope I was able to explain this well enough to understand.

  • 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-15T22:16:07+00:00Added an answer on May 15, 2026 at 10:16 pm
    • Maintain a state for each http session. Have 3 session states – ‘VisitedA’, ‘VisitedB’ and ‘VisitedC’. The start state when the user lands on PageA is ‘VisitedA’. Once the user moves to PageB, change the state to ‘VisitedB’ and Once the user moves to PageC, change the state to ‘VisitedC’.
    • Maintain the time of last activity
      for each http session by recording
      the timestamps for GET, POST or other
      events on the site.
    • Decide
      on a threshold duration of inactivity, say ‘ThresholdTime’,
      after which the user will be
      considered to have abandoned the site. For example, if ‘ThresholdTime’ is 30 minutes, then if the times of last activity for an http session is older than 30 minutes, the associated user will be considered to have abandoned the site.
    • Use a scheduler API e.g. Quartz
      and schedule a job that will look at the stored data for
      all http sessions and find out the sessions whose period of
      inactivity is greater than
      ‘ThresholdTime’ and whose state is ‘VisitedB’. It will then sends emails to the users associated with those http sessions.

    Note that you’d need to maintain the time of last activity and state for each http session. You will have to look for the suitable place to store this data e.g. in a HttpSession table.

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

Sidebar

Related Questions

I have a question about a problem I'm struggling with. Hope you can bear
Please bear with me as I explain the problem, how I tried to solve
It is very difficult for me to explain this particular problem/question so please bear
This problem is going to be a little harder to explain, so bear with
I'm trying to explain a complex problem, so bear with me. Say I have
I am working on a project that involves a lot of data, and at
Hopefully I can explain this without overcomplicating the issue, so please bear with me.
(Bear with me here, I'll attempt to explain this as best I can. Please
Ok, this is a weird problem, so please bear with me as I explain.
Please bear with me experts i'm a newbie in web dev. With html,css can

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.