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 differences between PHP3 and PHP4 versions?

1 Answers  


how can i find number of rows in a table using MS Access and php? i used odbc_num_rows($query); but it returned -1.

1 Answers  


How to genrate report in wordpress cms

0 Answers  


What is ltrim?

0 Answers  


Explain how to execute a php script using command line.

0 Answers  






What is the difference between Session and Cookie?

0 Answers  


What is difference between core php and framework?

0 Answers  


What language is php based on?

0 Answers  


What is mysql in php?

0 Answers  


How to terminate the execution of a script in PHP?

0 Answers  


What is the meaning of curl , which is used while connecting with pay pal? and how it works?

2 Answers  


What distinguishes php from something like client side java script?

0 Answers  


Categories