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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:44:11+00:00 2026-05-13T05:44:11+00:00

I have a RoR site that loads a splash page on the first visit.

  • 0

I have a RoR site that loads a splash page on the first visit. It’s simply a page with information about the service and a form to enter credentials. When the user logs in, the form submits to the same page (document root) but if the user is logged in successfully, the actual site is loaded. My issue is that when the user presses the back button, they’re taken back to the log in/splash page. This makes sense because the browser has cached the page, but I’d like it if I could somehow tell that the page is being shown from cache and reload it.

You can see the same functionality on facebook.com:

  1. Go to the home page logged out.
  2. Enter your credentials and click log in
  3. Once logged in, press back button to go back to home page.
  4. Page will automatically reload to bring you to your logged in state.
  • 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-13T05:44:12+00:00Added an answer on May 13, 2026 at 5:44 am

    Set a cookie upon login. Have the home page check for the cookie and redirect accordingly.

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

Sidebar

Related Questions

I have a RoR application (ruby v1.8.7; rails v2.3.5) that is caching a page
I have a site that is about to launch and a request for URL
I have two applications: c++ service and a RoR web server (they are both
Many people have asked about Rails hosting on this site, but I'm not familiar
I have a RoR web app that I'm trying to serve up with Passenger
I am a newcomer to RoR and have a question about routing. I have
I have a lot of ajax calls that ask a page to insert partials
I have a site that calculates shipping costs, but I need the user to
I have a little problem with search functionality on my RoR based site. I
I have code in my model (RoR 3.0.x) that is more or less like

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.