Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Cannot logout of limesurvey, it logs me in right away.

Cannot logout of limesurvey, it logs me in right away. 2 years 3 months ago #111788

  • Concordia
  • Concordia's Avatar
  • Offline
  • Junior Lime
  • Posts: 29
  • Thank you received: 3
  • Karma: 0
I recently got Single sign on to work.
Limesurvey authenticates with LDAP through Apache 2.4.
I'm using Version 2.05+ Build 140125.

My problem is once I'm logged in I cannot logout. :huh:

When I look at the apache access.log, we can see that as soon as I log out it logs back in

::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/authentication/sa/logout HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/authentication/sa/login HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/index HTTP/1.1" 200 13830
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/authentication/sa/logout HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/authentication/sa/login HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/index HTTP/1.1" 200 13830

There are no errors in the error.log.

The only way to log out is to clear my browser cache and close\open the browser.

Thanks in advance.
The administrator has disabled public write access.

Cannot logout of limesurvey, it logs me in right away. 2 years 3 months ago #111876

  • Concordia
  • Concordia's Avatar
  • Offline
  • Junior Lime
  • Posts: 29
  • Thank you received: 3
  • Karma: 0
Limesurvey log out button no longer works with authentication through apache(HTTP authentication), as the session is not cleared until the browser window is closed.

There might be a work around, but it will require more research and development.

Looking for another method to authenticate with LDAP and then automatically import user’s.
The administrator has disabled public write access.

Cannot logout of limesurvey, it logs me in right away. 2 years 3 months ago #111882

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Cannot logout of limesurvey, it logs me in right away.

Why you want to log out ?
If you are connected via server, ther can't be a real logout system.

There are 2 possibility:
- No log out icon (remove log out icon if connected via server)
- Return to index page and not to admin.

Please report a bug, but I think it's a minor issue.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Cannot logout of limesurvey, it logs me in right away. 2 years 3 months ago #112040

  • Concordia
  • Concordia's Avatar
  • Offline
  • Junior Lime
  • Posts: 29
  • Thank you received: 3
  • Karma: 0
I reported it as a minor bug ID 09197.

I could remove the loggout button.
How would I return to the index page? what page would I have to modify?

Thanks!
The administrator has disabled public write access.
Time to create page: 0.373 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form