What is the difference between Session and Cookie? - Aidephp .bouee.net - Questions/réponses 100% php
  • S'enregistrer
Bienvenue sur Aidephp le site de Questions/réponses 100% php.
Vous pouvez poser vos questions gratuitement et vous recevrez en échange les réponses des membres de notre communauté.

What is the difference between Session and Cookie?

0 votes

Hello Guys,

The main difference between sessions and cookies is that sessions are stored on the server, and cookies are stored on the user's computers in the text file format. Cookies can't hold multiple variable while session can hold multiple variables..We can set expiry for a cookie,The session only remains active as long as the browser is open. The 2D Animation Videos shows how business can help you in enterprise mobility, small business solutions and enterprise networking. Users do not have access to the data you stored in Session,Since it is stored in the server.Session is mainly used for login/logout purpose while cookies using for user activity tracking.

Thanks

asked Il y a2 mois par JoeClark (6,780 points)

Connectez-vous ou créez un compte pour répondre à cette question.

0 Réponses

Pas de question sur le même sujet trouvée