ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
How can we destroy the session, how can we unset the
variable of a session?
 Question Submitted By :: Rajan Vardawaj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we destroy the session, how can we unset the variable of a session?
Answer
# 1
session_unregister() - Unregister a global variable from the
current session session_unset() - Free all session variables
 
Is This Answer Correct ?    0 Yes 3 No
Rajan Vardawaj
 
  Re: How can we destroy the session, how can we unset the variable of a session?
Answer
# 2
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
 
Is This Answer Correct ?    4 Yes 0 No
Lakshmi
 
 
 
  Re: How can we destroy the session, how can we unset the variable of a session?
Answer
# 3
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
 
Is This Answer Correct ?    0 Yes 0 No
Lakshmi
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
display selected value in dropdown list through javascript without page refresh  1
If there are 10 text boxes in a form having same name, their value are different. Value of which textbox will be received on action script? A1-Technology10
What is the purpose of destructor ?  1
This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ? TCS1
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ? TCS3
What is the meaning of curl , which is used while connecting with pay pal? and how it works?  2
How to differentiate isset and empty A1-Technology5
How can we extract string ‘abc.com ‘ from a string info@abc.com" target="_blank">http://info@abc.com using regular expression of php?  4
What is MIME?  2
how we can crop an image and how we can display it.. Satyam1
can anyone explain about stored procedure,Triggers and transaction in php?  2
How do you run a php script from the command line?  1
How can we destroy the session, how can we unset the variable of a session?  4
How many ways we can give the output to a browser?  4
What is the difference between Reply-to and Return-path in the headers of a mail function?  2
How can I get the only name of the current executing file?  4
what is array_search() in php?  1
What is .htaccessfile and use of this file  5
How many ways we can pass the variable through the navigation between the pages?  6
how to insert, update data in database  4
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com