Added function 'setSessionName' #6

Closed
wants to merge 1 commit into from

1 participant

@ghost

this uses fCryptography to produce a random name for the session.name in php.ini this helps prevent people from knowing you are running php.

HopelessCode Added function 'setSessionName' this uses fCryptography to produce a …
…random name for the session.name in php.ini this helps prevent people from knowing you are running php.
e9e317c
@Tatsh
Owner

This will not work as session ID would be random on every page load.

@Tatsh Tatsh closed this Jun 25, 2012
@ghost

It will only change the session name if it is PHPSESSID in the php.ini, if the session name has been changed, it will not change the session name again, tested on Apache 2, with PHP 5.3.13

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