How to create a session? How to set a value in session ? How to Remove data from a session? diwanproductions | August 19, 2016 | PHP | No Comments Create session : session_start(); Set value into session : $_SESSION[‘USER_ID’]=1; Remove data from a session : unset($_SESSION[‘USER_ID’]; Post Views: 128 Share this:ShareTweetWhatsApp Related Tags:FRESHERS, INTERVIEW QUESTIONS, Php Related Posts Explain the “unlink” and “unset” functions? No Comments | Aug 17, 2016 #2 – PHP Multiple Choice Question No Comments | Nov 30, 2016 require_once(), require(), include().What is difference between them? No Comments | Aug 13, 2016 What are the different types of PHP variables? No Comments | Aug 17, 2016 You must log in to post a comment.WordPress spam blocked by CleanTalk.