Hi,
I've seen that login out from the administration and login back is not=20
working.
To solve this problem, i've try to concatenate the realms'name with the=20
date. I put this new realmname into the session, and test if it's=20
session registered at each http-request. When an admin logout, i=20
unregister it from the session.
Moreover, with the authentification of private survey, it's impossible=20
to logout. As the same, i put a realm concatenated with the date into=20
the session. The user is disconnected each time the survey is completed=20
so that an other user can respond to without restarting his browser.=20
(But if the user want to respond again to the survey, he need to log in=20
again).
So i send you the patch, hopping it's useful.
please note that it applies to phpESP-1.4beta1
C=E9dric
--=20
C=E9dric LEVASSEUR
Ing=E9nieur d'=E9tude
------------------------------------------------------
Linux@Business - Solutions Applicatives Low Cost
www.linux-at-business.com
268, avenue du Pr=E9sident Wilson
F-93218 La Plaine Saint-Denis Cedex
Standard: + 33 (0)1 49 46 56 50 65
Ligne directe : + 33 (0)1 49 46 56
Fax: +33 (0)1 49 46 56 51
------------------------------------------------------
|