With older versions of PHP you can use this snippet for the same effect:
<?php register_shutdown_function('session_write_close'); ?>
(PHP >=5.4.0)
session_register_shutdown — Session shutdown function
이 함수는 인수가 없습니다.
값을 반환하지 않습니다.
Emits E_WARNING
if registering the shutdown function
fails.
With older versions of PHP you can use this snippet for the same effect:
<?php register_shutdown_function('session_write_close'); ?>