-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
I have
<max-desktops-per-session>1</max-desktops-per-session>
In my DesktopInit listener i can see, that multiple desktops are created with the same session.
No :) But wierd is that I can still work with it - page just refreses itself and I can continue in the first tab.
Then I switch to the second tab, I click anywhere, page refreshes and I can work here.
This is kind of strange, isn't it?
If there would be different session in the second tab, wveruthing would be OK from my point of view, because a user would have to login again. But this is strange - both tabs are "active".
In other words, creating a second dekstop in session would fail (binding between session and desktop count).
I think you misunderstood the meaning of "max-desktops-per-session" .
ZK can't ask JEE web container using different HttpSession to communicate to the broswer, it's out of JEE spec I think.
Currently, if you set max-desktops-per-session = 1, that means only one desktop can survive in one session.
Any other Browser URL request(ex: you press F5) will clean up the old one.
Asked: 2009-11-05 07:15:06 +0800
Seen: 940 times
Last updated: Jan 20 '12