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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:21:42+00:00 2026-06-13T04:21:42+00:00

I have a dynamic HTML document that does not contain any external resources (no

  • 0

I have a dynamic HTML document that does not contain any external resources (no images, css and scripts are coded inside of document). Using PhoneGap I have converted this document into standalone Android application. As this HTML document is local application with no internet connectivity, using cookies is unfortunately not an option. I need to save/load application status to allow user to continue to use/run the application later. Using cookies was a working solution in Windows environment using IE browser, but because most of browsers do not allow to use cookies for local files, this solution is not supported by browser on my Android device (default browser of Samsung Galaxy Tab2 7.0). What is an alternative solution to allow save/load some JavaScript/jQuery variable(s) for later use?

  • 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-13T04:21:43+00:00Added an answer on June 13, 2026 at 4:21 am

    Take a look at HTML5’s localStorage. It gives you all the features of cookies, and more, in a simple key-value store. Ex:

    localStorage["myJQVar"] = JSON.stringify(someJQVar);
    

    Then, next time your app launches:

    someJQVar = JSON.parse(localStorage["myJQVar"])
    

    Local storage is now the preferred way to do local storage of data anyway, and some people also block most cookies for privacy reasons, so this is the way to go.

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

Sidebar

Related Questions

I have a scenario that, I am creating dynamic html content and I need
I have a Servlet called Menu that generates some html and a dynamic menu,
I have a system that takes dynamic data, puts it in HTML for layout
I'm generating dynamic HTML inside Delphi. I have no problem displaying UTF-8 strings inside
Is it possible to render Razor in Html.Raw()? I have a dynamic page being
I am trying to create a dynamic bar in HTML using javascript. I have
Preamble To build dynamic web-sites, we have to master at least four languages: HTML
I have dynamic listview on my android client app that receive data from remote
I have a small html code base that produces a list of unique links,
I have a page that is getting an XML document in order to add

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.