Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After a session timeout, it won't accept my credentials #11898

Closed
olivierberten opened this issue Jan 28, 2016 · 5 comments
Closed

After a session timeout, it won't accept my credentials #11898

olivierberten opened this issue Jan 28, 2016 · 5 comments
Assignees

Comments

@olivierberten
Copy link

Here is my config.inc.php

<?php
$cfg['Servers'][1]['auth_type'] = 'http';
$cfg['Servers'][1]['extension'] = 'mysqli';
?>

If I leave phpMyAdmin for a while and come back, if I click somewhere, it asks for credentials but It will keep asking it forever. I need to go back to the root dir of my phpMyAdmin in order to log in again.

By the way, few years ago, with the same config I wouldn't have to log in again after a while... That was much more useful for developing, when you have to try out a few things before coming back to the database...

Apache/2.4.18 (Ubuntu)
Database client version: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
PHP extension: mysqli Documentation
PHP version: 5.6.17-3+deb.sury.org~wily+1

Version information: 4.5.4 (up to date)

@olivierberten
Copy link
Author

phpMyAdmin 4.5.4 and Firefox 44.0 but it's been that way for a while...

@ibennetch
Copy link
Member

We'll take a look.

@nijel nijel added the Bug A problem or regression with an existing feature label Jan 31, 2016
@nijel
Copy link
Contributor

nijel commented Jan 31, 2016

It's probably caused by the way to logout from HTTP (there is no such thing in the protocol). Not sure if there is way to make this work with HTTP auth reliably in all browsers...

@ibennetch ibennetch self-assigned this Feb 10, 2016
@nijel nijel assigned nijel and unassigned ibennetch May 23, 2016
@nijel nijel added documentation and removed Bug A problem or regression with an existing feature labels May 23, 2016
@nijel
Copy link
Contributor

nijel commented May 23, 2016

I don't think there is way to fix this, it's really better to use cookie based authentication (phpMyAdmin relies on cookies anyway). The documentation was improved to cover this in 5573f18.

@nijel nijel closed this as completed May 23, 2016
@freshcalendars
Copy link

phpMyAdmin 4.5.4 and Firefox 44.0 but it's been that way for a while..

How can i fix it ?

Thanks,

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants