Home

Which one of the following is the very first task executed by a session enabled page?

A. Delete the previous session

B. Start a new session

C. Check whether a valid session exists

D. Handle the session

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. What is the default number of seconds that cached session pages are made available before the new pages…
  2. What will be the output of the following PHP code ? <?php $i = 0;while ((--$i > ++$i) - 1){ print…
  3. What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  4. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;echo $color1…
  5. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota);echo I…
  6. Which one of the following format parameter can be used to identify timezone?
  7. Which one of the following is the very first task executed by a session enabled page?
  8. If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  9. To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  10. A PHP script should start with ___ and end with ___:
  11. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (--$i > 0) print…
  12. Say you want to calculate the date 45 days from the present date which one of the following statement…
  13. What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  14. What will be the output of the following PHP code ? <?php define(VAR_NAME,test);${VAR_NAME} = value;echo…
  15. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  16. What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…
  17. Which one of the following function is useful for producing a timestamp based on a given date and time.
  18. What will be the output of the following PHP code? If say date is 22/06/2013. <?php printf( date(t)…
  19. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  20. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  21. What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  22. What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  23. What will be the output of the following PHP code ? <?php $color = red;echo $color . red ;?>
  24. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  25. Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This
  26. Neglecting to set which of the following cookie will result in the cookies domain being set to the host…
  27. What will be the output of the following PHP code ? <?php define(__LINE__, PHP is a scripting language);echo…
  28. What will be the output of the following PHP code? <?php $age = array(Peter=>35, Ben=>37, Joe=>43);print_r(array_change_key_case($age,…
  29. What will be the output of the following PHP code? <?php $a1 = array(a=>red, b=>green, c=>blue, d=>yellow);$a2…
  30. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 || ++$i){ print…