Re: [phpMyAdmin Developers] session_destroy conflicts with other applications

Michal Čihař <[email protected]>
Newsgroups gmane.comp.php.phpmyadmin.devel
Message-ID <[email protected]>
Hello

On Thu, 2018-03-08 at 15:13 +0400, Selno Meria via Developers wrote:
> in "libraries\plugins\AuthenticationPlugin.php", line 96:
> 
>                  session_unset();
>                  session_destroy();
> 
> I think it's better that you manually unset the parameters that needs
> to 
> be deleted, instead deleting the whole session. I am having much 
> problems, because PMA destroys all my other sessions too.

Destroys other sessions? This destroys only currently active session,
what is phpMyAdmin owned one. In case you're sharing session with
phpMyAdmin, you're doing something wrong.

> (btw, it is nicely done like in:  "libraries\sessions.inc.php" ,
> line 
> 26, where it checks if session exists, it just closes);

This is only in case there is different session (just check the code
above).

-- 
	Michal Čihař | https://cihar.com/ | https://weblate.org/

_______________________________________________
Developers mailing list
[email protected]
https://lists.phpmyadmin.net/mailman/listinfo/developers
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh+Zzr4P2w6DDRMjD9KoinU1YwkUFAlqiPIoACgkQ9KoinU1Y
wkUTtA//R7w3NFVjeHKer39vxGI9wlFR7DD+JhsXiiXtls+joCQBmjU9ewtF+2Hr
jVgFu5qrSQSYXPPLe0prnMmeP9nadI4OjCUr8Xn2h9splQ44BgUZUJCBTDBIyLC9
p+KU8nZsu1K7O/aVLRdhTPADokh3cydI22dXD5jatmvdF1a2oIOpp/PDNuibDbW+
tGBNDho2MaPBSDkDNdFeE/y5Poii9b9fLY4XiDTTXJPVrvhaYUCtRwQehaXvpIxE
+1z7evXGODDMpo0s9XEPzLE8jyv0WEIoZzTcBN4Wg9xLNzG/uFEHyYuTFbQZw/9r
umJr1mT+HNukMLKj26qSW0XZ9ZE/mmYZ3F4GMl3qjcRXf9vULoiI7ynxpiX/PTI3
tY1SgHn4syJ1tST0gjl36ZL5EXP34Ptb6m+t8L/+GkgJ6T2gtdXPsm5mLHTcGhkL
myeADodJ9RtNdvGakU1M2cbB/IMJ//PqM6C4VQifnsjo3DsYkge4gifUOsMVyJ6R
gyf4va3ioTQHWL8Z5G5onrRTDrGoj3m4D3u9jGyTd+4YdaIpYdlFL2pljmx/BPPl
mXKyxpfksyKi3vOzkbNiIK/+r3hrxZt4BzhUWnTxljqyk3tzr8DggXgeTaXHph+X
dlWt4eOOnQzAixGUN5P8S7y/IG/PEmHK8j1Mc6KbkGWEcpmJ6bw=
=1qZY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.