Anvar Freelance Web Designer and SEO Expert Logo
01 / 01
WhatsApp Logo +91 808 999 0405

What is Session in PHP ?

A Session is a logical object created by PHP engine to allow you to preserve data across the application, Sessions are commonly used to store temporally data to allow multiple PHP pages to offer a complete functional transaction for the same visitor.

/* To start session*/
/* add variable in session */
 $_SESSION['website'] = '';
/* to end session*/
by anvar
Published : Mar , 5

Post a comment

Your email address will not be published. Required fields are marked *