Why do we need session?



Why do we need session?..

Answer / 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

More PHP Interview Questions

What is php call function?

1 Answers  


Why sessions are used in php?

1 Answers  


What is the difference between myisam and innodb?

1 Answers  


How to pass variables and data from php to javascript?

1 Answers  


What does PEAR stands for?

1 Answers   Arigo Infotech,


Is php harder than javascript?

1 Answers  


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

1 Answers  


How can we encrypt the password using php?

1 Answers  


Is php easy language to learn?

1 Answers  


What is the best php framework 2018?

1 Answers  


Where are the session values stored?

1 Answers  


What are PHP Magic Methods/Functions. List them.

1 Answers  


Categories