How can we know that a session is started or not?

Answer Posted / rahul

on head of the page we have to write
session_start();
statement.

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you calculate days between two dates in PHP?

542


What is the purpose of the '.frm' file extension? What do thes file contain?

513


What are the different components used in php for formatting?

537


What is csrf token and how will you add csrf token in ajax?

527


Is php harder than javascript?

432






write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.

1563


How do you use bcrypt for hashing passwords in php?

534


Can constructor be private in php?

543


Explain what is the main difference between require() and require_once()?

541


What is member function?

568


List some array functions in php?

506


List some string function name in php?

544


discuss the issue of software theft in ghana and how it has affected the economy

1675


Why do we use php?

541


What is interface? Why it is used?

544