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
Labels

Comments

@olivierberten
Copy link

@olivierberten olivierberten commented Jan 28, 2016

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

@olivierberten olivierberten commented Jan 28, 2016

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

@ibennetch
Copy link
Member

@ibennetch ibennetch commented Jan 28, 2016

We'll take a look.

@nijel nijel added the bug label Jan 31, 2016
@nijel
Copy link
Member

@nijel 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...

@nijel
Copy link
Member

@nijel 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 May 23, 2016
@freshcalendars
Copy link

@freshcalendars freshcalendars commented Jan 7, 2019

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.