iOS forgets cookies

105 views
Skip to first unread message

Emmanuel Dreyfus

unread,
Feb 4, 2012, 10:23:54 AM2/4/12
to simple...@googlegroups.com
Hello

On iOS (iPod, iPhone, iPad), the built-in browser tend to easily lose
cookies. This is a pain for users since they often have to
reauthenticate at the IdP.

With simpleSAMLphp 1.4, I hacked a mix of Javascript & PHP to save the
session cookie in HTML5 local storage after login, and to attempt
restoring it when there is no session cookie available. At that time it
worked quite well.

It broke over the time, probably with simpleSAMLphp 1.8. I noted there
is now a SimpleSAMLAuthToken session that is required with the PHP
session cookie. I tried saving and restoring both, but the session seems
to be still invalid.

Anyone had a try working around this problem?

--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
ma...@netbsd.org

Tom Scavo

unread,
Feb 4, 2012, 10:18:29 AM2/4/12
to simple...@googlegroups.com
On Sat, Feb 4, 2012 at 10:23 AM, Emmanuel Dreyfus <ma...@netbsd.org> wrote:
>
> On iOS (iPod, iPhone, iPad), the built-in browser tend to easily lose
> cookies. This is a pain for users since they often have to
> reauthenticate at the IdP.

Can you pinpoint the conditions under which this happens?

Thanks,
Tom

Emmanuel Dreyfus

unread,
Feb 10, 2012, 9:59:34 PM2/10/12
to simple...@googlegroups.com
No answer, nobody else has the problem, or nobody has an idea?

Dick Visser

unread,
Feb 12, 2012, 8:20:54 AM2/12/12
to simple...@googlegroups.com
On 11 February 2012 03:59, Emmanuel Dreyfus <ma...@netbsd.org> wrote:
> No answer, nobody else has the problem, or nobody has an idea?

You didn't supply the requested additional information, so no answer ;-)

While your hack might have worked in the past, if this really is a
problem with iOS, then it should be fixed there.
If not, and the problem is with SimpleSAMLphp, it should be fixed in
SimpleSAMLphp.

Either way, more information about the actual problem is needed.

Dick

Reply all
Reply to author
Forward
0 new messages