How many ways can we get the value of current session id?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / devji chhanga
Apart from session_id, we can retrieve it using SID
constant in PHP6
| Is This Answer Correct ? | 12 Yes | 9 No |
Answer / 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 |
What are examples of independent and dependent variables?
Are parent constructors called implicitly inside a class constructor?
Explain setcookie() function in php?
What is nginx and what is it used for?
Name some of the functions in php.
what is PHP accelerator ?
What does isset() function?
How to find current date and time?
What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which condition will you use mysql_connect() and mysql_pconnect().
How we get browser details of clients machine?
What is the purpose of $_ session?
How to write the form tag correctly for uploading files?