1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

Safari app run from the Home Screen loses session cookies

Discussion in 'iPad Hacking' started by marius.constantin, Apr 11, 2012.

  1. marius.constantin
    Offline

    marius.constantin iPF Noob

    Joined:
    Apr 11, 2012
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    Ratings:
    +0 / 0
    Hi all,

    I am having a strange problem while trying to deploy a Safariweb app on the iPad 2. My application contains a few tabs which load different pages; so far, nothing unusual. I would like to be able to let the users add a link to the app to the Home Screen and run it in chromeless mode. The problem is that the auth session (a cookie) is not persisted between page loads. But this only happens if I start the app from the icon that I saved on the Home Screen. Run directly in Safari the app works without problems.

    I found a workaround which is to load the home page of the web app with a # at the end of the URL (domain_name/#). Saving the link after this makes the app work perfectly.

    Did anyone see something similar? Any tips greatly appreciated.

    Thanks,
    Marius
  2. gdorbes
    Offline

    gdorbes iPF Noob

    Joined:
    Apr 21, 2012
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    France
    Ratings:
    +0 / 0
    I have the same pb for a web app that I'm developing. I'm thinking about using local storage instead of cookie.
    Better idea welcome

    ::Guillaume::

Share This Page

Search tags for this page
adding iphone app to home screen loses session cookies
,
iis ipad web clip session cookie
,
ios cookies save to home screen
,
ios home screen loses session cookie
,
ipad app mode loses session
,
ipad loses cookie
,
ipad losing cookies
,
ipad safari end web session
,
ipad safari loses cookies
,
ipad safari loses cookies 2014
,

ipad safari loses cookieswhen closed

,
ipad safari losing session information
,
ipad web clip session problem
,
safari for ipad looses cookies
,
safari ios iframe problem lose session
,
safari losing cookies bug
,
safari session webapps
,

session cookies ipad

,
web app session ipad
,
what are the apps on safari homepage