aurweb/web/lib
Lukas Fleischer 0f994df357 Simplify session ID generation
There was too much voodoo going on in new_sid(). Just use uniqid() with
a random seed and the optional entropy parameter to generate MD5 input.

Use the remote IP address as a salt to reduce the chance of two clients
getting the same ID if they login at exactly the same time.

Thanks-to: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-06-25 11:58:20 +02:00
..
acctfuncs.inc.php rename *.inc files to *.inc.php and adjust imports and references 2011-06-22 15:15:04 +02:00
aur.inc.php Simplify session ID generation 2011-06-25 11:58:20 +02:00
aurjson.class.php rename *.inc files to *.inc.php and adjust imports and references 2011-06-22 15:15:04 +02:00
cachefuncs.inc.php Make cache type selectable based on config value 2011-06-22 15:21:21 +02:00
config.inc.php.proto Make cache type selectable based on config value 2011-06-22 15:21:21 +02:00
feedcreator.class.php RSS support implemented 2005-06-10 23:07:24 +00:00
gettext.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
pkgfuncs.inc.php Use sane ORDER BY clauses in package list queries 2011-06-25 11:29:55 +02:00
stats.inc.php rename *.inc files to *.inc.php and adjust imports and references 2011-06-22 15:15:04 +02:00
streams.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
translator.inc.php rename *.inc files to *.inc.php and adjust imports and references 2011-06-22 15:15:04 +02:00
version.inc.php rename *.inc files to *.inc.php and adjust imports and references 2011-06-22 15:15:04 +02:00