Hi there, Session is browser specific as sesion are stored as cookies. Each browser stores its own cookies. So in one browser one can open more than one tab. The Session.js will work. If you open more than One browser then they are treated as different sessions due to cookies being different.
As far as I understand you have done the right thing. This will also ensure when you refresh the state are restored. But the messages will not be restored. Please correct me If i m wrong. Cheers!! On Jun 28, 4:37 pm, Sudeep S <[email protected]> wrote: > Dear Ape Team, > > I have an application where I authenticate a user and make the her > join a particular channel. After that I push messages to the user > using the inline push facility. While testing the same I encountered a > problem wherein if the user opens the same application in another tab > and a notification is pushed to the user, it is received twice in each > window. > I went through the documentation for sessions and included Session.js > in the config.js file. It seems to have solved the problem. Please let > me know if it is the right thing to do. > Also will it work properly if the user opens the app in different > browsers? > > Thanks in advance. > > Regards, > Sudeep Sunthankar. -- 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/
