Hi there,
there is some problem with the session handling in DrupalChat. The session doesn't expire on user logout! The result of this issue is as follows:
After User A logs out if another User B tries to log in, the site logs with the account of User A (the last user account that has entered the site from this browser). It takes sometimes more that 5 login attempts (or even more I haven't had the patience to try it more than 5 times) until the actual user can access the system.
This could be a very critical issue if the same site is viewed by different users with the same browser on the same machine (like public computers and so).
I tried this also on the demonstration page and the issue persists!
Greetings,
Nikolay
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2_1_log_in.png | 46.6 KB | nibo |
| #6 | 2_2_log_out.png | 46.08 KB | nibo |
| #6 | 2_3_log_in_as_test4.png | 46.56 KB | nibo |
| #6 | 2_4_logged_in_as_test1_again.png | 45.75 KB | nibo |
| #5 | 1_log_in.png | 46.55 KB | nibo |
Comments
Comment #1
darklrd commentedHi Nikolay Borisov,
This issue has been fixed. I tried it on demo website, its working fine.
Comment #2
nibo commentedHi darkIrd,
thanks for the fast answer!!!
This is very strange. I have just tested the demo website on Firefox 3.6 and IE7 and this behavior persists, although it doesn't happen every time. I log on with "test4" , then log out and try to log in with "test3", but I am being logged in as "test4".
Hmmm ... very strange ... almost paranormal :)
Thanks for the help!
Greets
Nikolay
Comment #3
darklrd commentedThen there must be some problem. I will look into it again.
Comment #4
darklrd commentedCan you please upload some screenshots?
Comment #5
nibo commentedHi darkIrd,
I don't know if my screenshots will help you much, but here are the screenshots of my interaction flow (first scenario):
1_log_in.png - my first attempt to log in as user "test3"
2_log_out.png - right after login I log myself out
3_click_on_home.png - it looks like I'm logged out (username and password fields are shown); I click on the Home-banner
4_logged_in_again.png - After clicking on "Home" I am logged in as user "test3" again
Comment #6
nibo commentedHere are the screenshots from the second scenario:
2_1_log_in.png - first attemt to log in as "test1"
2_2_log_out.png - login succeed; "test1" logging out
2_3_log_in_as_test4.png - it looks like I'm logged out; trying to log in as "test4" but ...
2_4_logged_in_as_test1_again.png - I'm logged in as "test1" again
I hope that the screenshots will help you !!!
Thanks for the great support!!!
Greets
Nikolay
Comment #7
Michsk commentedthis looks more like a drupal related issue. But i must say that i have the same issue on the demo site.
Comment #8
nibo commentedHey lasac,
are you using DrupalChat on some project? Do you have the same problems?
If you don't experience this problem maybe there is some module collison between DrupalChat and some other module, which I am using and darkIrd also ...
Comment #9
Michsk commentedNikolay: i did but that was a dev enviroment. And i stopped using it, i am waiting for the new version then ill start using it again. But this is on the demo site. I did not have this issue on my own project.
Comment #10
darklrd commentedThis was a problem related with page caching on demo site and has been fixed now. It is not related to DrupalChat module.