On Fri, Nov 9, 2012 at 2:03 AM, Jesse Gumm <g
...@sigma-star.com> wrote:
> Are you certain it's facebook-specific, and not just frame-specific?
> IE has a habit of rejecting cookies for third-party frames, and since
> cookies are the basis for Nitrogen Sessions, that would lead to this
> problem.
> There's a fix for this, which involves taking advantage of IE's P3P header.
> wf:header('P3P',"CP=\"CAO COR CURa ADMa DEVa OUR IND ONL COM DEM PRE\"")
> Honestly, I don't know all the details about this, but I just copied
> and pasted that line (and reformatted to be nitrogen-specific) from
> here:
> http://www.softwareprojects.com/resources/programming/t-how-to-get-in...
> I haven't tested this, but that link should point you in the right
> direction.
> -Jesse
> On Thu, Nov 8, 2012 at 3:23 PM, Maxim Sokhatsky <ma...@synrc.com> wrote:
> > I've found that session information, in particular wf:user() gets lost in
> > facebook frame using IE10.
> > 22:17:14.594 [info] login:408 wf:user() == "maxim"
> > 22:17:14.595 [info] login:411 REDIRECT
> > 22:17:15.545 [info] dashboard:20 DASH
> > 22:17:15.545 [info] dashboard:29 wf:user() == undefined
> > after redirection with wf:redirect_from_login
> > ?INFO("wf:user() == ~p",[wf:user()]),
> > ?INFO("REDIRECT"),
> > wf:redirect_from_login(?_U("/dashboard")).
> > This is found only in facebook context. In direct connection to the site
> > everything is ok.
> > Please help or advice :)
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/nitrogenweb/-/_BfD6Jxk2msJ.
> > To post to this group, send email to nitrogenweb@googlegroups.com.
> > To unsubscribe from this group, send email to
> > nitrogenweb+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/nitrogenweb?hl=en.
> --
> Jesse Gumm
> Owner, Sigma Star Systems
> 414.940.4866 || sigma-star.com || @jessegumm
> --
> You received this message because you are subscribed to the Google Groups
> "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
> To post to this group, send email to nitrogenweb@googlegroups.com.
> To unsubscribe from this group, send email to
> nitrogenweb+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nitrogenweb?hl=en.
--