To clarify. This is not a bug. This is a feature. As long you store server side, web2py prevents the same user from opening the same session twice. There is no concurrency problems for different users. There is no problem if the same user uses two distinct sessions (by using different browsers or different machines).
Massimo On Oct 19, 4:44 pm, Alex Fanjul <alex.fan...@gmail.com> wrote: > Wow, this sounds me!! > In the enterprise I'm working (by now) we have a big social network > product (in a mix of perl and private language), and we in fact suffer > from similar sessions problems/issues. > I deed, if you have 2 applications in the same server the sessions are > messed like this example... > I think this could have to take into consideration. ¿or not? > > Alex F > > El 19/10/2009 16:32, Wes James escribió: > > > > > On Mon, Oct 19, 2009 at 8:26 AM, SergeyPo<ser...@zarealye.com> wrote: > > >> Run two different web2py applications on same machine using two > >> different ports (127.0.0.1:8000 and 127.0.0.1:8002). Open two browser > >> windows for two apps (two tabs in Safari). > >> Log in 1st application admin in 1st window. > >> Log in 2nd app admin in 2nd window. > >> Try to do smth in 1st window - it will ask you for password. > > >> Is it intended behaviour or sessions do not take port number into > >> account? > > > When you have a browser open, a session is active across all windows. > > The only way to get around this is to open a different browser. i.e. > > browser one is safari, browser two is firefox or opera, etc. Firefox > > 3.5.3 has private browsing, but I don't know how that would work in > > this situation. Does private browsing put your sessions in a black > > box that no other browser window (of the same browser instance) can > > see?? > > > -wes > > -- > Alejandro Fanjul Fdez. > alex.fan...@gmail.comwww.mhproject.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---