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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:28:35+00:00 2026-05-27T05:28:35+00:00

For sites like Facebook and stackoverflow where you can revisit the site after a

  • 0

For sites like Facebook and stackoverflow where you can revisit the site after a month of absence and still be logged in – do these sites simply set a long session timeout and then maintain your session data for that period or do they use some other technique to enable you to stay signed in for extended periods of time?

I have a site with a similar requirement and would like to know what others are doing in these instances. Obviously this is a bad approach for any site that allows access to sensitive information and Facebook and others have received criticism to that extent. For my purposes my application doesn’t provide access to user information beyond first/last name.

Thanks in advance for the input!

  • 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-27T05:28:35+00:00Added an answer on May 27, 2026 at 5:28 am

    No, they do not use a long-term session. This would build up to be too much of a memory hog on the server, and sessions clear on the client end as soon as the browser is closed.

    Instead, they use a persistent cookie, and use that to identify the visitor on return visits.

    Gmail covers this in their documentation. This is a fairly common practice. (Whether it’s a good practice for sites that need to be secure is open for debate.)

    You can find hundreds of examples of sites that have similar doumentaiton about the use of this method by googling:

    cookie “remember me”

    You didn’t mention your platform (ASP.NET, php, etc) but for ASP.NET, daniweb covers how to do this: http://www.daniweb.com/web-development/aspnet/threads/30505 Smilar guidance exists for most platforms.

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

Sidebar

Related Questions

These text fields look great and are common on web 2.0 sites like Facebook.
I was wondering how sites like Facebook, with their timeline feature, float a certain
I want to add twitter oauth just like facebook connect in my site like
For a Facebook-like site, ie. which is write-intensive and delivers user-customized pages, I'd like
I am using facebook like as a iframe on my site. The data that
I've implemented the Facebook like button on my site, but liked links are showing
I've HTML5 version of facebook like button on my site since almost an year
I've used this code to have a like btn on my site: <iframe src=http://www.facebook.com/plugins/like.php?href=URL_OF_YOUR_WEBSITE&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80&amp
How do sites like these get to display images with rounded corners? I checked
is mongodb appropriate for sites like stackoverflow?

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.