adspace


Why do we need session?

Answer Posted / Vineeta Singh

Sessions are used in PHP to maintain user information across multiple pages or sessions, allowing for personalized and interactive experiences. For example, they can be used to store shopping cart items, logged-in status, preferences, etc.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name and explain five of the PHP error constants?

1035


What is the difference between htmlentities() and htmlspecialchars()?

1091


What sized websites have you worked on in the past?

1086


Which variable declarations within a class is invalid in php?

1048


List some features of php that are deprecated in php7?

1024


What does $_files means?

1162


Explain me is it possible to destroy a cookie?

1029


What is difference between static and final in php?

1109


How to create a web form?

1111


What is the current stable version of php?

1124


how to detect a mobile device using php

1174


What is the current stable version of php? What advance thing in php7?

1095


sort term descripttion form, report and uery

2254


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1078


What is trait in php?

1065