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 is difference between static and final in php?
hi recently i had faced an interview in that they asked me that php have faced the problem of y2k so which one is that year like 2030,2059 not remember exact year anybody will tell me pls?
What is the difference between nowdoc and heredoc?
What is difference between core php and framework?
Name some of the functions in php.
Which is faster for or foreach?
Explain me what is x+ mode in fopen() used for?
What is the function of trim?
Tell me how can we pass the variable through the navigation between the pages?
how set session expire time in php?
What are Sub routines?
How cookies are transported from browsers to servers?