+ 2
Logout in php
I set 'email' in cookies with setcookies() and I have one session variable name 'email' how we logout a user.
1 Answer
+ 2
setcookie(session_name(), " ", time() - 3600);
Set Timeout for cookies
Or đ
session_destroy();
I set 'email' in cookies with setcookies() and I have one session variable name 'email' how we logout a user.