[Phpmyadmin-devel] LoginCookieValidity in user preferences

Michal Čihař michal at cihar.com
Tue Sep 21 11:26:28 CEST 2010


Hi

Dne Thu, 16 Sep 2010 20:46:10 +0200
Piotr Przybylski <piotr.prz at gmail.com> napsal(a):

> Adding this setting in user preferences will not work correctly, as
> all overrides to config.inc.php's values are loaded after auth is
> done, when database is available. The only solution for this to work,
> is to try loading user overrides from session cache
> ($_SESSION['cache']['server_?']['userprefs']) just after
> config.inc.php is read.

I think getting cookie validity from the cache should do the right
thing.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100921/0ef40d94/attachment.sig>


More information about the Developers mailing list