is it valid to end and reset a session ?
PHP:
session_start();
session_regenerate_id();
session_destroy();
unset($_SESSION);
session_start();
or
PHP:
session_start();
session_destroy();
unset($_SESSION);
session_start();
Are the above codes valid??
See original post by ameerulislam43
Leave a Reply
You must be logged in to post a comment.