Fixed bug #66827 Session raises E_NOTICE when session name variable is array

Fixed possible DoS.