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

  • Home
  • SEARCH
  • 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 6341951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:08:34+00:00 2026-05-24T20:08:34+00:00

I have a question concerning cookie storage design. I am developing a web application

  • 0

I have a question concerning cookie storage design. I am developing a web application which should cache it’s server-fetched data to a local storage. No user credentials will be stored.

What is in the cookie:

  1. list of data and it’s properties
  2. proof for up-to-dateness

Proof for up-to-dateness will not be a hash, but most likely a timestamp of the last write to the server which is checked against the DB. This is to ensure the user gets valid info if he has used the website on another browser/computer/device and is out of sync.

The cookie should be able to handle more than one user in it and most probably some sort of encryption so other people can’t see plain-text data. Military-grade security isn’t needed here as the information here is not so important. But everything hacked in less than 30-60 minutes should be considered unsafe.

Questions:

  1. How to encrypt my data
  2. How to enable the cookie for multiple users
  3. How to prevent the cookie from being stolen
  4. What would be a good and simple way to present the option to disable cookie caching and explain to my users the risks of using caching on public computers
  5. Is the whole idea any good at all
  6. What are some potential issues I haven’t accounted for
  • 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-24T20:08:35+00:00Added an answer on May 24, 2026 at 8:08 pm

    I’ll answer #5 (which renders the rest of the questions moot).

    Cookies aren’t designed for that sort of thing. They are make a round trip with every HTTP requests – including on same domain CSS, images, JS, etc.

    I suggest you look at HTML 5 local storage or just sending the data down to the browser every time with a minimal key cookie.

    For #3 – there isn’t a way to fool proof way prevent someone from stealing a cookie or forging a duplicate.

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

Sidebar

Related Questions

I have a question concerning this code which I want to run on QNX:
I have a question concerning Core Data and how, if at all, Entities get
I've been reading Design Patterns, by Gamma et al. I have a question concerning
I have a question concerning best-practices for indexing in SQL Server (or any RDBMS
I have a question concerning the structure of an MVC application. Suppose we have
I have a question concerning the design of my project's Code. In most cases,
I have a design question concerning Django. I am not quite sure how to
question concerning SQL Server: I have added a column with type uid to a
I have question concerning a function I created. I would like to show the
I have a question concerning subtypes of built-in types and their constructors. I want

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.