gaeutilities session not working in ie9

54 views
Skip to first unread message

Emlyn

unread,
Nov 10, 2011, 9:05:29 PM11/10/11
to google-a...@googlegroups.com
Hi all,

I'm having an issue with gaeutilities sessions; they're just not
retaining session info between calls in IE9 (fine in firefox and
chrome). I haven't diagnosed this in depth yet, just wondering whether
anyone has seen this.

--
Emlyn

http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
Buzz posts,
comments and all.
http://point7.wordpress.com - My blog
Find me on Facebook and Buzz

Kaan Soral

unread,
Nov 13, 2011, 11:17:43 AM11/13/11
to google-a...@googlegroups.com
Are you able to see the cookie even once?

bowman...@gmail.com

unread,
Nov 16, 2011, 11:08:28 AM11/16/11
to google-a...@googlegroups.com
The state is saved via a cookie that is a token the library keys off of. If you haven't changed the default settings then you should have a cookie in your browser named something like gaeutilities-session.

If IE is configured to not accept cookies from the domain you are testing, then that would likely be the problem.

Emlyn

unread,
Nov 16, 2011, 6:16:43 PM11/16/11
to google-a...@googlegroups.com
Yup, sorry, I did diagnose it, gaesessions is fine.

My app lives in an iframe inside another page. That turns out to cause
the issue.

Apparently IE9 requires something called a Privacy Policy for
iframed-in pages before it'll save cookies at Medium security level
(which is the default). Excellent explanation at this URL:

http://stackoverflow.com/questions/389456/cookie-blocked-not-saved-in-iframe-in-internet-explorer

Incidentally, I tried Beaker instead, and it works fine straight out
of the box, good to know, It didn't fix the problem of course, but it
was good to get it going and get a feel for that.

On 17 November 2011 02:38, bowman...@gmail.com

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/E0wymcFXQecJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
0 new messages