How can we destroy the session, how can we unset the
variable of a session?
Answers were Sorted based on User's Feedback
Answer / lakshmi
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / lakshmi
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajan vardawaj
session_unregister() - Unregister a global variable from the
current session session_unset() - Free all session variables
Is This Answer Correct ? | 2 Yes | 4 No |
What is warning – “cannot modify header information – headers already sent”?
What is $_ get and $_ post in php?
suppose if u want to pass session value using cookies onlu.. what changes i've to made in php.ini file?
Which escape sequences can be used in single quoted strings in php?
How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
What is session in php why it is use?
display selected value in dropdown list through javascript without page refresh
What are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee(eno int(2),ename varchar(10)) ?
Tell me in php, objects are they passed by value or by reference?
List the different types of print functions available in php?
Which is better session or cookie?
which function used to get the number of days between two given dates in php