posted 22 years ago
Dear Hrvoje Canzek,
When u refresh yr page at browser is same as that u enter yr username and password again and create another session.
But a solution for yr problem may be this:
Set one variable in yr session (say login name). Then, write one class who extends SessionBindingEvent Listener. In this class override valueUnbound() method.
So, what happens now is, When yr session will timeout Container will call method valueUnbound() on this class.
Now, In this valueUnbound() method, redirect / forward the request to yr login page.
Hope this helps,
Best regards, Dharmin
SCJP2 (93%),SCWCD(88%)<br />-------------------------------<br />Never under estimate yr self, just represent yr profile in proper manner.