What is the difference between the functions UNLINK
and UNSET?

Answer Posted / adarsh katiyar

If you want delete some session data, you can use the
unset() or the session_destroy() function.

The unset() function is used to free the specified session
variable.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is chrome logger?

755


What is prepare in php?

754


How to get the value of current session id?

711


Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

941


What is csrf token in php?

782


Php program to generate fibonacci series?

728


What is cookies php?

715


How to write a program to make chess?

761


How send email in php?

725


What is the difference between explode () and split () functions in php?

884


What is php in simple words?

737


Is empty check in php?

757


Is php used for frontend or backend?

730


How does php isset work?

718


Does jwt protect against csrf?

672