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

Answer Posted / james rosan

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 ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In php, how to redirect from one page to another page?

517


What is the difference between unset and unlink?

540


What is new keyword in php?

540


Which function you can use in php to open a file for reading or writing or for both?

555


Which cryptographic extension provide generation and verification of digital signatures?

531






What is the difference between super () and this ()?

555


How to find length of an array in php ?

560


What is html used for?

557


Can php use gettext?

564


Name and explain five of the PHP error constants?

516


When a conditional statement is ended with an endif?

521


What is user defined function in php?

539


What are the two main string operators?

550


What is the difference between myisam and innodb?

512


How to track user logged out or not? When user is idle?

516