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

Tell us how to create an array of a group of items inside an html form?

0 Answers  


What are the current versions of apache, PHP, and mysql?

21 Answers  


What is the correct and the most two common way to start and finish a php block of code?

0 Answers  


Explain how you can update memcached when you make changes to php?

0 Answers  


what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons

1 Answers  






What is data type in php?

0 Answers  


What is substr() in php? And how it is used?

0 Answers  


How do I update php?

0 Answers  


How to replace a text in a string with another text in php?

0 Answers  


Do you know how can php and html interact?

0 Answers  


What is a query in a database?

0 Answers  


Do you know what does mvc stand for and what does each component do?

0 Answers  


Categories