No nothing like this. However, I went to the new APE website and opened one 
demo. It seems very unlikely that there could have been some mixing up, but 
you never know.

My website is now split into several sub-language: www.happymeeple.com/en/, 
www.happymeeple.com/de/, www.happymeeple.com/fr/

While chasing the bug I am now talking about I realized that APE was 
generating several cookies (one for the main directory, one for the en 
directory, etc.). This is now in production and no user has complained of 
any weird behaviour. However, I suspect that this is not very good. So I 
added the path "/" parameter in two different place in the APE code:

Cookie.write('APE_Cookie', JSON.encode(tmp), {'domain': document.domain, 
'path':'/'} );

one in load: function(config)
and one in saveCookie: function() in session.js

I don't really like modifying APE on my end, but what else can I do? Anyone 
has a better solution for these path issues?

There are also a few things that don't make sense.

1) in FF and IE, the program goes through both load and savecookie (listed 
above). Where in Chrome it only goes into load. So in the first, the cookie 
is saved twice, in Chrome only once.
2) It does not make sense to me that the cookie needs to be written twice. 
I guess it needs to be updated (with the session info maybe?) in some 
cases, but I don't know why.

Thanks for your help.

Nicolas.


Le mercredi 25 septembre 2013 16:46:17 UTC+1, [email protected] a 
écrit :
>
> Hi Nicolas 
>
> A quick grep revealed that 'chatdemo' is used in the following files: 
> Ape_Jsf/Demos/Chat/demo.html:22:                        identifier: 
> 'chatdemo', // 
> Identifier of the application 
> Ape_Jsf/Demos/Shoutbox/demo.html:15:                        'identifier': 
> 'chatdemo', 
> Ape_Jsf/Demos/TCPSockets/demo.html:49:                
> client.load({'identifier': 
>
> 'chatdemo'}); 
>
> Are you re-using some of these parts? 
>
> Peter Reijnders 
>
> Nicolas schreef op 2013-09-25 17:33: 
> > Hi guys, 
> > 
> > I am currently experiencing something really weird. 
> > 
> > I don't use any channel at all in APE. However, on my dev computer, I 
> > can see in the cookies of Chrome that it mixes my cookie (for an app 
> > identifier 'mindbelts') with a cookie with an app identifier of 
> > 'chatdemo'. So in the same cookie "Ape_Cookie", I can see both 
> > identifiers with two differents session_id... 
> > 
> > This really does not make sense to me. I can't see that behaviour on 
> > another browser. Is it just Chrome that lost track? 
> > 
> > It seems to be responsible for my being unable to find my previous 
> > session back. 
> > 
> > Nicolas. 
> > 
> >  -- 
> >  -- 
> >  You received this message because you are subscribed to the Google 
> >  Groups "APE Project" group. 
> >  To post to this group, send email to 
> > [email protected]<javascript:> 
> >  To unsubscribe from this group, send email to 
> >  [email protected] <javascript:> 
> >  For more options, visit this group at 
> >  http://groups.google.com/group/ape-project?hl=en [1] 
> >  --- 
> >  APE Project (Ajax Push Engine) 
> >  Official website : http://www.ape-project.org/ [2] 
> >  Git Hub : http://github.com/APE-Project/ [3] 
> > 
> >  --- 
> >  You received this message because you are subscribed to the Google 
> > Groups "APE Project" group. 
> >  To unsubscribe from this group and stop receiving emails from it, 
> > send an email to [email protected] <javascript:>. 
> >  For more options, visit https://groups.google.com/groups/opt_out 
> > [4]. 
> > 
> > 
> > Links: 
> > ------ 
> > [1] http://groups.google.com/group/ape-project?hl=en 
> > [2] http://www.ape-project.org/ 
> > [3] http://github.com/APE-Project/ 
> > [4] https://groups.google.com/groups/opt_out 
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to