Just a question. Is it really significant to prevent user to open more windows with same session.??
As Microsoft said, it isn’t a bug, it’s functionality J If you absolutely want to prevent multiples windows from same sessions, you can, using some counter hidden in javascript for exemple, but, it will be extremely hard to do this safe and convenient way.. Exemple. What happens if I want to see datas from a windows, and use them to other windows.?? If I follow your need, I can’t.. Or, what happens if I use F5 to refresh my windows.?? It’s same session, but other new windows.. you have to manage some heavy and difficult cases, it’s worth the effort.? Or simply assume that your users have multiples windows with same session. In this case, with ape, you have the tool to synchronize each windows with datas updates.. And, simply close window that are no longer useful for exemple.. De : [email protected] [mailto:[email protected]] De la part de Louis Charette Envoyé : jeudi 18 septembre 2014 18:18 À : [email protected] Objet : Re: [APE Project] single instance - prevent multiple windows - block second window I can't access the link on my phone, but on the client side you can use the JOIN event. When you don't use sessions, If the same user connects you'll get a new event fired. You can check manually if it's the same person (by ip, username or other custom properties) and redirect using JavaScript or whatever. When using sessions there must be some sort of event too (I never actually used sessions) - Louis Envoyé de mon iPhone Le 2014-09-18 à 06:29, Nicolas <[email protected]> a écrit : Hi, I wonder how you would prevent a user from opening a second window with APE? Obviously there are reasons why it is easier to make sure that there is only one window open. There was a thread about this a while ago. I am sure if the solution proposed by efyx was implemented on the server side. If anybody knows let me know? https://groups.google.com/forum/#!searchin/ape-project/multiple$20windows/ape-project/unmh0Tblsng/m2OTL5F8pDwJ Thanks. 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] 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/d/optout. -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to <mailto:[email protected]> [email protected] To unsubscribe from this group, send email to <mailto:[email protected]> [email protected] For more options, visit this group at <http://groups.google.com/group/ape-project?hl=en> http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : <http://www.ape-project.org/> http://www.ape-project.org/ Git Hub : <http://github.com/APE-Project/> 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/d/optout. -- -- 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/d/optout.
