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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:47:02+00:00 2026-06-10T06:47:02+00:00

I have developed a web application and I am using a cookie to store

  • 0

I have developed a web application and I am using a cookie to store the users ID.

My question is how long should I set the expiry for? Should I aim to set it as short as possible?

For example:-
my application is to do with time and attendance so I could assume that the maximum time away from the app would be on a 2 week holiday so I could set it for 3 weeks or 1 month.

Or should I just set it to 1 year, 10 years? Do developers have some sort of ethical responsibility to keep machines cookie free when they can or are people not bothered about this kind of thing?

  • 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-10T06:47:04+00:00Added an answer on June 10, 2026 at 6:47 am

    I think if your application contains any sensitive data, you should offer a choice to your users, like ‘Remember me’.

    We have a business critical application, where users can have invoices and sensitive datas. One year ago we even made a two factor login required for all users.

    So it is depending what is there to secure? Or an other question if somebody is going for a holiday like 2 weeks is it so bad that he has to relogin when he arrived home?

    Generally it is just a comfort feautre I think.

    About the ethical question, if you have personal and important data in your system, you should try to secure it by one of the best technology in present days (I mean f.e. storing passwords), but if you want to give comfort to your user, let them use a “Remember me” function, because then it is not your deceision.

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

Sidebar

Related Questions

I have a web application developed using PHP. I want my users to select
I have developed a web application using Netbeans 6.7 and Ant. The webapp works,
I have developed a Web service using WCF Service Application. This service application is
I have a ASP.net 3.5 web application developed in VB.net I am using iTextsharp
I have developed a web application and various clients can store records to that
We have developed a Web Application using grails, groovy and oracle as database with
I have developed an web application using Asp.net ( .Net Framework 3.0). In this
Hi have this j2ee web application developed using spring framework. I have a problem
I have developed a web application using ExtJs4.0.7. The application is working fine in
I have developed a web application using Spring 3.1 In one of the module

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.