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

Answers were Sorted based on User's Feedback



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

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

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

Answer / devji chhanga

Apart from session_id, we can retrieve it using SID
constant in PHP6

Is This Answer Correct ?    12 Yes 9 No

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

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

Post New Answer

More PHP Interview Questions

what are the rules to be followed at the time of declaring a variable?,what is the purpose of var_dump()function in php,syntax of ternary operator()in php,difference between drop a table and truncate a table...

2 Answers  


tel me any 2 regular expressions with example

1 Answers   Wipro,


What is form submission?

0 Answers  


What are properties in php?

0 Answers  


what is the default method of form in php?

6 Answers  






What are the security measures we have to take for our site not to hack by others?

1 Answers   Infosys,


What is use of mysqli_query in php?

0 Answers  


Who is the father of PHP and explain the changes in PHP versions?

2 Answers   Rushmore Consultancy,


Why do we use interface in php?

0 Answers  


How can we submit a form without a submit buttom?

12 Answers   A1 Technology, IBM,


How to merge values of two arrays into a single array?

0 Answers  


what are the various PHP Script Optimization techniques?

1 Answers   IBM, Krify Software Technologies, TCL,


Categories