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 · 4 comments

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@olivierberten

olivierberten Jan 28, 2016

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

olivierberten commented Jan 28, 2016

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

@ibennetch

This comment has been minimized.

Show comment
Hide comment
@ibennetch

ibennetch Jan 28, 2016

Member

We'll take a look.

Member

ibennetch commented Jan 28, 2016

We'll take a look.

@nijel nijel added the bug label Jan 31, 2016

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Jan 31, 2016

Member

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

Member

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

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel May 23, 2016

Member

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.

Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment