session - PHP ZF2 mcrypt_encrypt goes to writeClose -
using zend framework 2 have had invalid function calls go directly session.writeclose. however, can tell call valid:
$encrypteddata = mcrypt_encrypt(static::mcrypt_cipher, $key, $data, static::mcrypt_mode, $initializationvector); when these falling directly writeclose can never figure out real issue is. gets lost in closing of session. have pointers how figure out real issue is? try..catches don't work because there no error. there going closing of session.
the final analysis of whenever attempt call function not exist, or function invalid parameters goes directly writeclose(). when see behavior know @ function call , make sure valid.
Comments
Post a Comment