How many ways can we get the value of current session id?

Answer Posted / devendrarjadav

We can get the value of current session with the use of
session_id() returns the session id for the current session.

Is This Answer Correct ?    58 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert one date format into another in php?

489


How to check a variable is array or not in php?

563


What is the use of anonymous function in php?

557


How can I display text with a php script?

484


What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?

511






Do loops php?

523


How does php serialize work?

520


What is sorting php?

519


What is api used for?

489


Tell me what is the difference between exception::getmessage and exception::getline?

514


What is query string php?

540


What is uniqid php?

578


Describe the security vulnerability of PHP?

614


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

587


Suppose your zend engine supports the mode Then how can you configure your php zend engine to support Mode ?

575