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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:37:40+00:00 2026-05-25T13:37:40+00:00

I have experienced that iOS4 drops cookies when you start/exits a web app saved

  • 0

I have experienced that iOS4 drops cookies when you start/exits a web app saved to the dashboard (full screen mode).

Is it true and is there a workaround?

  • 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-25T13:37:41+00:00Added an answer on May 25, 2026 at 1:37 pm

    It’s not a bug, it’s a feature. Session cookies (i.e. cookies with a lifetime of 0) are dropped at the end of the browser session — which, in the case of a full screen web app, happens as soon as you leave the web app. If you want them to persist, just set your cookie lifetime to something larger than the default 0 (I use 1 year).

    Now your question might be: how do I set my cookie lifetime? Assuming you’re using PHP, the piece of code would be:

    $lifetime = 31536000; // one year 
    setcookie($varName,$varValue,time()+$lifetime); 
    

    If you’re using PHP sessions, you will have to rewrite the cookie to add a lifetime greater than 0:

    setcookie(session_name(),session_id(),time()+$lifetime);
    

    Normally, you shouldn’t have to rewrite the session cookie in order to change the default lifetime, as the function session_set_cookie_params should let you do just that, but I found it’s not always the case.

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

Sidebar

Related Questions

I have often experienced while developing my web applications that pressing F5 or refresh
I am an experienced WinForms/WPF/Silverlight developer and have an interview for a product that
I have a navigation driven app. I need that app to rotate. The UINavigationController
Have you ever experienced that the Bootstrap doesn't save (with flush or without flush
I've seen a number of blog posts, and have experienced for myself, that Mercurial
I have implemented a generic ObjectPool class but have experienced that it sometime deadlocks
Has anyone else tried using SimpleModal in IE9? If so, have you experienced that
I have experienced in numerous implementations that an image <img> wrapped by an <a>
I am trying to create aseries of maps with markers. I have experienced, that
I have an app in ruby that process payments through Braintree but We have

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.